# 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 ReplicapoolV1beta2 class InstanceGroupManager class Representation < Google::Apis::Core::JsonRepresentation; end end class InstanceGroupManagerList class Representation < Google::Apis::Core::JsonRepresentation; end end class AbandonInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end end class DeleteInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end end class RecreateInstancesRequest class Representation < Google::Apis::Core::JsonRepresentation; end end class SetInstanceTemplateRequest class Representation < Google::Apis::Core::JsonRepresentation; end end class SetTargetPoolsRequest 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 ReplicaPoolAutoHealingPolicy class Representation < Google::Apis::Core::JsonRepresentation; end end class InstanceGroupManager # @private class Representation < Google::Apis::Core::JsonRepresentation collection :auto_healing_policies, as: 'autoHealingPolicies', class: Google::Apis::ReplicapoolV1beta2::ReplicaPoolAutoHealingPolicy, decorator: Google::Apis::ReplicapoolV1beta2::ReplicaPoolAutoHealingPolicy::Representation property :base_instance_name, as: 'baseInstanceName' property :creation_timestamp, as: 'creationTimestamp' property :current_size, as: 'currentSize' property :description, as: 'description' property :fingerprint, :base64 => true, as: 'fingerprint' property :group, as: 'group' property :id, as: 'id' property :instance_template, as: 'instanceTemplate' property :kind, as: 'kind' property :name, as: 'name' property :self_link, as: 'selfLink' collection :target_pools, as: 'targetPools' property :target_size, as: 'targetSize' end end class InstanceGroupManagerList # @private class Representation < Google::Apis::Core::JsonRepresentation property :id, as: 'id' collection :items, as: 'items', class: Google::Apis::ReplicapoolV1beta2::InstanceGroupManager, decorator: Google::Apis::ReplicapoolV1beta2::InstanceGroupManager::Representation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' end end class AbandonInstancesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :instances, as: 'instances' end end class DeleteInstancesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :instances, as: 'instances' end end class RecreateInstancesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :instances, as: 'instances' end end class SetInstanceTemplateRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :instance_template, as: 'instanceTemplate' end end class SetTargetPoolsRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :fingerprint, :base64 => true, as: 'fingerprint' collection :target_pools, as: 'targetPools' 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::ReplicapoolV1beta2::Operation::Error, decorator: Google::Apis::ReplicapoolV1beta2::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::ReplicapoolV1beta2::Operation::Warning, decorator: Google::Apis::ReplicapoolV1beta2::Operation::Warning::Representation property :zone, as: 'zone' end class Error # @private class Representation < Google::Apis::Core::JsonRepresentation collection :errors, as: 'errors', class: Google::Apis::ReplicapoolV1beta2::Operation::Error::Error, decorator: Google::Apis::ReplicapoolV1beta2::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::ReplicapoolV1beta2::Operation::Warning::Datum, decorator: Google::Apis::ReplicapoolV1beta2::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::ReplicapoolV1beta2::Operation, decorator: Google::Apis::ReplicapoolV1beta2::Operation::Representation property :kind, as: 'kind' property :next_page_token, as: 'nextPageToken' property :self_link, as: 'selfLink' end end class ReplicaPoolAutoHealingPolicy # @private class Representation < Google::Apis::Core::JsonRepresentation property :action_type, as: 'actionType' property :health_check, as: 'healthCheck' end end end end end