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

265 lines
10 KiB
Ruby

# 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 ReplicapoolupdaterV1beta1
class InstanceUpdate
class Representation < Google::Apis::Core::JsonRepresentation; end
class Error
class Representation < Google::Apis::Core::JsonRepresentation; end
class Error
class Representation < Google::Apis::Core::JsonRepresentation; end
end
end
end
class InstanceUpdateList
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
class Error
class Representation < Google::Apis::Core::JsonRepresentation; end
class Error
class Representation < Google::Apis::Core::JsonRepresentation; end
end
end
class Warning
class Representation < Google::Apis::Core::JsonRepresentation; end
class Datum
class Representation < Google::Apis::Core::JsonRepresentation; end
end
end
end
class OperationList
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class RollingUpdate
class Representation < Google::Apis::Core::JsonRepresentation; end
class Error
class Representation < Google::Apis::Core::JsonRepresentation; end
class Error
class Representation < Google::Apis::Core::JsonRepresentation; end
end
end
class Policy
class Representation < Google::Apis::Core::JsonRepresentation; end
end
end
class RollingUpdateList
class Representation < Google::Apis::Core::JsonRepresentation; end
end
class InstanceUpdate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :error, as: 'error', class: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error, decorator: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error::Representation
property :instance, as: 'instance'
property :status, as: 'status'
end
class Error
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :errors, as: 'errors', class: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error::Error, decorator: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Error::Error::Representation
end
class Error
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :location, as: 'location'
property :message, as: 'message'
end
end
end
end
class InstanceUpdateList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate, decorator: Google::Apis::ReplicapoolupdaterV1beta1::InstanceUpdate::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
end
end
class Operation
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :client_operation_id, as: 'clientOperationId'
property :creation_timestamp, as: 'creationTimestamp'
property :end_time, as: 'endTime'
property :error, as: 'error', class: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Error, decorator: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Error::Representation
property :http_error_message, as: 'httpErrorMessage'
property :http_error_status_code, as: 'httpErrorStatusCode'
property :id, as: 'id'
property :insert_time, as: 'insertTime'
property :kind, as: 'kind'
property :name, as: 'name'
property :operation_type, as: 'operationType'
property :progress, as: 'progress'
property :region, as: 'region'
property :self_link, as: 'selfLink'
property :start_time, as: 'startTime'
property :status, as: 'status'
property :status_message, as: 'statusMessage'
property :target_id, as: 'targetId'
property :target_link, as: 'targetLink'
property :user, as: 'user'
collection :warnings, as: 'warnings', class: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning, decorator: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning::Representation
property :zone, as: 'zone'
end
class Error
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :errors, as: 'errors', class: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Error::Error, decorator: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Error::Error::Representation
end
class Error
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :location, as: 'location'
property :message, as: 'message'
end
end
end
class Warning
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
collection :data, as: 'data', class: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning::Datum, decorator: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Warning::Datum::Representation
property :message, as: 'message'
end
class Datum
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :key, as: 'key'
property :value, as: 'value'
end
end
end
end
class OperationList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :id, as: 'id'
collection :items, as: 'items', class: Google::Apis::ReplicapoolupdaterV1beta1::Operation, decorator: Google::Apis::ReplicapoolupdaterV1beta1::Operation::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
end
end
class RollingUpdate
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :action_type, as: 'actionType'
property :creation_timestamp, as: 'creationTimestamp'
property :description, as: 'description'
property :error, as: 'error', class: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Error, decorator: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Error::Representation
property :id, as: 'id'
property :instance_group, as: 'instanceGroup'
property :instance_group_manager, as: 'instanceGroupManager'
property :instance_template, as: 'instanceTemplate'
property :kind, as: 'kind'
property :old_instance_template, as: 'oldInstanceTemplate'
property :policy, as: 'policy', class: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Policy, decorator: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Policy::Representation
property :progress, as: 'progress'
property :self_link, as: 'selfLink'
property :status, as: 'status'
property :status_message, as: 'statusMessage'
property :user, as: 'user'
end
class Error
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :errors, as: 'errors', class: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Error::Error, decorator: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Error::Error::Representation
end
class Error
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :code, as: 'code'
property :location, as: 'location'
property :message, as: 'message'
end
end
end
class Policy
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :auto_pause_after_instances, as: 'autoPauseAfterInstances'
property :instance_startup_timeout_sec, as: 'instanceStartupTimeoutSec'
property :max_num_concurrent_instances, as: 'maxNumConcurrentInstances'
property :max_num_failed_instances, as: 'maxNumFailedInstances'
property :min_instance_update_time_sec, as: 'minInstanceUpdateTimeSec'
end
end
end
class RollingUpdateList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :items, as: 'items', class: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate, decorator: Google::Apis::ReplicapoolupdaterV1beta1::RollingUpdate::Representation
property :kind, as: 'kind'
property :next_page_token, as: 'nextPageToken'
property :self_link, as: 'selfLink'
end
end
end
end
end