google-api-ruby-client/generated/google/apis/firebasehosting_v1/representations.rb

99 lines
3.0 KiB
Ruby
Raw Normal View History

2015-06-23 23:05:46 +00:00
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'date'
require 'google/apis/core/base_service'
require 'google/apis/core/json_representation'
require 'google/apis/core/hashable'
require 'google/apis/errors'
module Google
module Apis
module FirebasehostingV1
2015-06-23 23:05:46 +00:00
class CancelOperationRequest
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Empty
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class ListOperationsResponse
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
2016-02-25 23:16:53 +00:00
include Google::Apis::Core::JsonObjectSupport
2015-06-23 23:05:46 +00:00
end
class Operation
2017-01-13 23:04:35 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
2017-01-13 23:04:35 +00:00
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class CancelOperationRequest
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Empty
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class ListOperationsResponse
# @private
2015-06-23 23:05:46 +00:00
class Representation < Google::Apis::Core::JsonRepresentation
property :next_page_token, as: 'nextPageToken'
collection :operations, as: 'operations', class: Google::Apis::FirebasehostingV1::Operation, decorator: Google::Apis::FirebasehostingV1::Operation::Representation
2015-06-23 23:05:46 +00:00
end
end
class Operation
2017-01-13 23:04:35 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :done, as: 'done'
property :error, as: 'error', class: Google::Apis::FirebasehostingV1::Status, decorator: Google::Apis::FirebasehostingV1::Status::Representation
hash :metadata, as: 'metadata'
property :name, as: 'name'
hash :response, as: 'response'
2017-01-13 23:04:35 +00:00
end
end
class Status
2017-01-13 23:04:35 +00:00
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :details, as: 'details'
property :message, as: 'message'
2016-05-25 16:16:15 +00:00
end
end
2015-06-23 23:05:46 +00:00
end
end
end