2015-07-20 21:49:34 +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 ContainerV1
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class AcceleratorConfig
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class AddonsConfig
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class AutoUpgradeOptions
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CancelOperationRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CidrBlock
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ClientCertificateConfig
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class Cluster
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ClusterUpdate
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class CompleteIpRotationRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class CreateClusterRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
class CreateNodePoolRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-09-20 00:35:54 +00:00
|
|
|
class DailyMaintenanceWindow
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Empty
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class HorizontalPodAutoscaling
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class HttpLoadBalancing
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class IpAllocationPolicy
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class KubernetesDashboard
|
2015-07-20 21:49:34 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class LegacyAbac
|
2015-07-20 21:49:34 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class ListClustersResponse
|
2016-04-14 18:15:27 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListNodePoolsResponse
|
2016-04-14 18:15:27 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListOperationsResponse
|
2016-04-14 18:15:27 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-09-20 00:35:54 +00:00
|
|
|
class MaintenancePolicy
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MaintenanceWindow
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MasterAuth
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MasterAuthorizedNetworksConfig
|
2017-01-28 03:38:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class NetworkPolicy
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-09-28 00:36:04 +00:00
|
|
|
class NetworkPolicyConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class NodeConfig
|
2017-01-28 03:38:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class NodeManagement
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class NodePool
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class NodePoolAutoscaling
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Operation
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class RollbackNodePoolUpgradeRequest
|
2017-05-04 19:35:56 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ServerConfig
|
2017-01-28 03:38:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetAddonsConfigRequest
|
2015-07-20 21:49:34 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetLabelsRequest
|
2015-07-20 21:49:34 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetLegacyAbacRequest
|
2015-07-20 21:49:34 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetLocationsRequest
|
2015-07-20 21:49:34 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetLoggingServiceRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-09-20 00:35:54 +00:00
|
|
|
class SetMaintenancePolicyRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetMasterAuthRequest
|
2015-07-20 21:49:34 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetMonitoringServiceRequest
|
2017-01-28 03:38:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetNetworkPolicyRequest
|
2017-01-28 03:38:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetNodePoolAutoscalingRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetNodePoolManagementRequest
|
2015-12-03 01:10:07 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2016-02-25 23:16:53 +00:00
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetNodePoolSizeRequest
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class StartIpRotationRequest
|
2016-05-16 16:49:15 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class UpdateClusterRequest
|
2017-01-28 03:38:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class UpdateMasterRequest
|
2017-01-28 03:38:40 +00:00
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class UpdateNodePoolRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AcceleratorConfig
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
|
|
|
|
property :accelerator_type, as: 'acceleratorType'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class AddonsConfig
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1::HorizontalPodAutoscaling::Representation
|
|
|
|
|
|
|
|
property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1::HttpLoadBalancing::Representation
|
|
|
|
|
|
|
|
property :kubernetes_dashboard, as: 'kubernetesDashboard', class: Google::Apis::ContainerV1::KubernetesDashboard, decorator: Google::Apis::ContainerV1::KubernetesDashboard::Representation
|
|
|
|
|
2017-09-28 00:36:04 +00:00
|
|
|
property :network_policy_config, as: 'networkPolicyConfig', class: Google::Apis::ContainerV1::NetworkPolicyConfig, decorator: Google::Apis::ContainerV1::NetworkPolicyConfig::Representation
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class AutoUpgradeOptions
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :auto_upgrade_start_time, as: 'autoUpgradeStartTime'
|
|
|
|
property :description, as: 'description'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CancelOperationRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CidrBlock
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :cidr_block, as: 'cidrBlock'
|
|
|
|
property :display_name, as: 'displayName'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ClientCertificateConfig
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :issue_client_certificate, as: 'issueClientCertificate'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2017-06-14 17:02:03 +00:00
|
|
|
end
|
2015-07-20 21:49:34 +00:00
|
|
|
|
2017-06-14 17:02:03 +00:00
|
|
|
class Cluster
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :current_master_version, as: 'currentMasterVersion'
|
|
|
|
property :current_node_count, as: 'currentNodeCount'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :current_node_version, as: 'currentNodeVersion'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :description, as: 'description'
|
|
|
|
property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
|
|
|
|
property :endpoint, as: 'endpoint'
|
|
|
|
property :expire_time, as: 'expireTime'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :initial_cluster_version, as: 'initialClusterVersion'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :initial_node_count, as: 'initialNodeCount'
|
|
|
|
collection :instance_group_urls, as: 'instanceGroupUrls'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :ip_allocation_policy, as: 'ipAllocationPolicy', class: Google::Apis::ContainerV1::IpAllocationPolicy, decorator: Google::Apis::ContainerV1::IpAllocationPolicy::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :label_fingerprint, as: 'labelFingerprint'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :legacy_abac, as: 'legacyAbac', class: Google::Apis::ContainerV1::LegacyAbac, decorator: Google::Apis::ContainerV1::LegacyAbac::Representation
|
|
|
|
|
2018-03-24 00:35:25 +00:00
|
|
|
property :location, as: 'location'
|
2017-07-12 20:10:42 +00:00
|
|
|
collection :locations, as: 'locations'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :logging_service, as: 'loggingService'
|
2017-09-20 00:35:54 +00:00
|
|
|
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1::MaintenancePolicy, decorator: Google::Apis::ContainerV1::MaintenancePolicy::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :master_auth, as: 'masterAuth', class: Google::Apis::ContainerV1::MasterAuth, decorator: Google::Apis::ContainerV1::MasterAuth::Representation
|
|
|
|
|
|
|
|
property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
|
|
|
property :monitoring_service, as: 'monitoringService'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :name, as: 'name'
|
2017-07-12 20:10:42 +00:00
|
|
|
property :network, as: 'network'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :network_policy, as: 'networkPolicy', class: Google::Apis::ContainerV1::NetworkPolicy, decorator: Google::Apis::ContainerV1::NetworkPolicy::Representation
|
|
|
|
|
|
|
|
property :node_config, as: 'nodeConfig', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
property :node_ipv4_cidr_size, as: 'nodeIpv4CidrSize'
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
hash :resource_labels, as: 'resourceLabels'
|
|
|
|
property :self_link, as: 'selfLink'
|
|
|
|
property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
|
|
|
|
property :status, as: 'status'
|
|
|
|
property :status_message, as: 'statusMessage'
|
|
|
|
property :subnetwork, as: 'subnetwork'
|
|
|
|
property :zone, as: 'zone'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2017-06-14 17:02:03 +00:00
|
|
|
end
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ClusterUpdate
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
|
|
|
|
|
|
|
|
property :desired_image_type, as: 'desiredImageType'
|
|
|
|
collection :desired_locations, as: 'desiredLocations'
|
|
|
|
property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1::MasterAuthorizedNetworksConfig::Representation
|
|
|
|
|
|
|
|
property :desired_master_version, as: 'desiredMasterVersion'
|
|
|
|
property :desired_monitoring_service, as: 'desiredMonitoringService'
|
|
|
|
property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :desired_node_pool_id, as: 'desiredNodePoolId'
|
|
|
|
property :desired_node_version, as: 'desiredNodeVersion'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CompleteIpRotationRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CreateClusterRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :cluster, as: 'cluster', class: Google::Apis::ContainerV1::Cluster, decorator: Google::Apis::ContainerV1::Cluster::Representation
|
|
|
|
|
2018-03-24 00:35:25 +00:00
|
|
|
property :parent, as: 'parent'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class CreateNodePoolRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :node_pool, as: 'nodePool', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
|
|
|
|
|
2018-03-24 00:35:25 +00:00
|
|
|
property :parent, as: 'parent'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
|
|
|
|
2017-09-20 00:35:54 +00:00
|
|
|
class DailyMaintenanceWindow
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :duration, as: 'duration'
|
|
|
|
property :start_time, as: 'startTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Empty
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class HorizontalPodAutoscaling
|
2015-07-20 21:49:34 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :disabled, as: 'disabled'
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class HttpLoadBalancing
|
2016-04-14 18:15:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :disabled, as: 'disabled'
|
2016-04-14 18:15:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class IpAllocationPolicy
|
2016-04-14 18:15:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
|
2017-08-31 00:35:15 +00:00
|
|
|
property :cluster_ipv4_cidr_block, as: 'clusterIpv4CidrBlock'
|
|
|
|
property :cluster_secondary_range_name, as: 'clusterSecondaryRangeName'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :create_subnetwork, as: 'createSubnetwork'
|
|
|
|
property :node_ipv4_cidr, as: 'nodeIpv4Cidr'
|
2017-08-31 00:35:15 +00:00
|
|
|
property :node_ipv4_cidr_block, as: 'nodeIpv4CidrBlock'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :services_ipv4_cidr, as: 'servicesIpv4Cidr'
|
2017-08-31 00:35:15 +00:00
|
|
|
property :services_ipv4_cidr_block, as: 'servicesIpv4CidrBlock'
|
|
|
|
property :services_secondary_range_name, as: 'servicesSecondaryRangeName'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :subnetwork_name, as: 'subnetworkName'
|
|
|
|
property :use_ip_aliases, as: 'useIpAliases'
|
2016-04-14 18:15:27 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class KubernetesDashboard
|
2016-04-14 18:15:27 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :disabled, as: 'disabled'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class LegacyAbac
|
2016-05-16 16:49:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :enabled, as: 'enabled'
|
2017-06-14 17:02:03 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListClustersResponse
|
2017-06-14 17:02:03 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :clusters, as: 'clusters', class: Google::Apis::ContainerV1::Cluster, decorator: Google::Apis::ContainerV1::Cluster::Representation
|
|
|
|
|
|
|
|
collection :missing_zones, as: 'missingZones'
|
2017-01-28 03:38:40 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListNodePoolsResponse
|
2017-01-28 03:38:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1::NodePool, decorator: Google::Apis::ContainerV1::NodePool::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2017-01-28 03:38:40 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ListOperationsResponse
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :missing_zones, as: 'missingZones'
|
|
|
|
collection :operations, as: 'operations', class: Google::Apis::ContainerV1::Operation, decorator: Google::Apis::ContainerV1::Operation::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-09-20 00:35:54 +00:00
|
|
|
class MaintenancePolicy
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :window, as: 'window', class: Google::Apis::ContainerV1::MaintenanceWindow, decorator: Google::Apis::ContainerV1::MaintenanceWindow::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MaintenanceWindow
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :daily_maintenance_window, as: 'dailyMaintenanceWindow', class: Google::Apis::ContainerV1::DailyMaintenanceWindow, decorator: Google::Apis::ContainerV1::DailyMaintenanceWindow::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MasterAuth
|
2017-01-28 03:38:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :client_certificate, as: 'clientCertificate'
|
|
|
|
property :client_certificate_config, as: 'clientCertificateConfig', class: Google::Apis::ContainerV1::ClientCertificateConfig, decorator: Google::Apis::ContainerV1::ClientCertificateConfig::Representation
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :client_key, as: 'clientKey'
|
|
|
|
property :cluster_ca_certificate, as: 'clusterCaCertificate'
|
|
|
|
property :password, as: 'password'
|
|
|
|
property :username, as: 'username'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
2017-06-14 17:02:03 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class MasterAuthorizedNetworksConfig
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :cidr_blocks, as: 'cidrBlocks', class: Google::Apis::ContainerV1::CidrBlock, decorator: Google::Apis::ContainerV1::CidrBlock::Representation
|
|
|
|
|
|
|
|
property :enabled, as: 'enabled'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class NetworkPolicy
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :enabled, as: 'enabled'
|
|
|
|
property :provider, as: 'provider'
|
2017-01-28 03:38:40 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-09-28 00:36:04 +00:00
|
|
|
class NetworkPolicyConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :disabled, as: 'disabled'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class NodeConfig
|
2017-01-28 03:38:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :accelerators, as: 'accelerators', class: Google::Apis::ContainerV1::AcceleratorConfig, decorator: Google::Apis::ContainerV1::AcceleratorConfig::Representation
|
|
|
|
|
|
|
|
property :disk_size_gb, as: 'diskSizeGb'
|
|
|
|
property :image_type, as: 'imageType'
|
|
|
|
hash :labels, as: 'labels'
|
|
|
|
property :local_ssd_count, as: 'localSsdCount'
|
|
|
|
property :machine_type, as: 'machineType'
|
|
|
|
hash :metadata, as: 'metadata'
|
2017-09-15 00:36:32 +00:00
|
|
|
property :min_cpu_platform, as: 'minCpuPlatform'
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :oauth_scopes, as: 'oauthScopes'
|
|
|
|
property :preemptible, as: 'preemptible'
|
|
|
|
property :service_account, as: 'serviceAccount'
|
|
|
|
collection :tags, as: 'tags'
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class NodeManagement
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :auto_repair, as: 'autoRepair'
|
|
|
|
property :auto_upgrade, as: 'autoUpgrade'
|
|
|
|
property :upgrade_options, as: 'upgradeOptions', class: Google::Apis::ContainerV1::AutoUpgradeOptions, decorator: Google::Apis::ContainerV1::AutoUpgradeOptions::Representation
|
|
|
|
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class NodePool
|
2015-07-20 21:49:34 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
|
|
|
|
|
|
|
|
property :config, as: 'config', class: Google::Apis::ContainerV1::NodeConfig, decorator: Google::Apis::ContainerV1::NodeConfig::Representation
|
|
|
|
|
|
|
|
property :initial_node_count, as: 'initialNodeCount'
|
|
|
|
collection :instance_group_urls, as: 'instanceGroupUrls'
|
2017-06-14 17:02:03 +00:00
|
|
|
property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :self_link, as: 'selfLink'
|
|
|
|
property :status, as: 'status'
|
|
|
|
property :status_message, as: 'statusMessage'
|
|
|
|
property :version, as: 'version'
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class NodePoolAutoscaling
|
2015-07-20 21:49:34 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :enabled, as: 'enabled'
|
|
|
|
property :max_node_count, as: 'maxNodeCount'
|
|
|
|
property :min_node_count, as: 'minNodeCount'
|
|
|
|
end
|
|
|
|
end
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class Operation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :detail, as: 'detail'
|
2017-08-31 00:35:15 +00:00
|
|
|
property :end_time, as: 'endTime'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :location, as: 'location'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :operation_type, as: 'operationType'
|
|
|
|
property :self_link, as: 'selfLink'
|
2017-08-31 00:35:15 +00:00
|
|
|
property :start_time, as: 'startTime'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :status, as: 'status'
|
|
|
|
property :status_message, as: 'statusMessage'
|
|
|
|
property :target_link, as: 'targetLink'
|
|
|
|
property :zone, as: 'zone'
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class RollbackNodePoolUpgradeRequest
|
2015-07-20 21:49:34 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :node_pool_id, as: 'nodePoolId'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-08-25 19:54:22 +00:00
|
|
|
end
|
|
|
|
end
|
2015-07-20 21:49:34 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class ServerConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :default_cluster_version, as: 'defaultClusterVersion'
|
|
|
|
property :default_image_type, as: 'defaultImageType'
|
|
|
|
collection :valid_image_types, as: 'validImageTypes'
|
|
|
|
collection :valid_master_versions, as: 'validMasterVersions'
|
|
|
|
collection :valid_node_versions, as: 'validNodeVersions'
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetAddonsConfigRequest
|
2015-07-20 21:49:34 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1::AddonsConfig, decorator: Google::Apis::ContainerV1::AddonsConfig::Representation
|
2017-01-28 03:38:40 +00:00
|
|
|
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetLabelsRequest
|
2015-07-20 21:49:34 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :label_fingerprint, as: 'labelFingerprint'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
2017-08-25 19:54:22 +00:00
|
|
|
hash :resource_labels, as: 'resourceLabels'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :zone, as: 'zone'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
|
|
|
end
|
2015-07-20 21:49:34 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetLegacyAbacRequest
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :enabled, as: 'enabled'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
end
|
2015-12-03 01:10:07 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetLocationsRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
2017-08-25 19:54:22 +00:00
|
|
|
collection :locations, as: 'locations'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetLoggingServiceRequest
|
2017-01-28 03:38:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :logging_service, as: 'loggingService'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-01-28 03:38:40 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-09-20 00:35:54 +00:00
|
|
|
class SetMaintenancePolicyRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
2017-09-20 00:35:54 +00:00
|
|
|
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1::MaintenancePolicy, decorator: Google::Apis::ContainerV1::MaintenancePolicy::Representation
|
|
|
|
|
2018-03-24 00:35:25 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-09-20 00:35:54 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetMasterAuthRequest
|
2017-05-26 16:44:32 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :action, as: 'action'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :update, as: 'update', class: Google::Apis::ContainerV1::MasterAuth, decorator: Google::Apis::ContainerV1::MasterAuth::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2018-03-24 00:35:25 +00:00
|
|
|
property :zone, as: 'zone'
|
2017-05-26 16:44:32 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetMonitoringServiceRequest
|
2017-01-28 03:38:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :monitoring_service, as: 'monitoringService'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-08-25 19:54:22 +00:00
|
|
|
end
|
|
|
|
end
|
2017-05-04 19:35:56 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetNetworkPolicyRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :network_policy, as: 'networkPolicy', class: Google::Apis::ContainerV1::NetworkPolicy, decorator: Google::Apis::ContainerV1::NetworkPolicy::Representation
|
2017-07-12 20:10:42 +00:00
|
|
|
|
2018-03-24 00:35:25 +00:00
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-07-12 20:10:42 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetNodePoolAutoscalingRequest
|
2017-07-12 20:10:42 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-08-25 19:54:22 +00:00
|
|
|
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1::NodePoolAutoscaling::Representation
|
|
|
|
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :node_pool_id, as: 'nodePoolId'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetNodePoolManagementRequest
|
2016-05-16 16:49:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :management, as: 'management', class: Google::Apis::ContainerV1::NodeManagement, decorator: Google::Apis::ContainerV1::NodeManagement::Representation
|
2017-06-02 06:11:31 +00:00
|
|
|
|
2018-03-24 00:35:25 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :node_pool_id, as: 'nodePoolId'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2016-05-16 16:49:15 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class SetNodePoolSizeRequest
|
2016-05-16 16:49:15 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :node_count, as: 'nodeCount'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :node_pool_id, as: 'nodePoolId'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-05-04 19:35:56 +00:00
|
|
|
end
|
|
|
|
end
|
2016-05-16 16:49:15 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class StartIpRotationRequest
|
2017-05-04 19:35:56 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
2018-04-15 00:36:03 +00:00
|
|
|
property :rotate_credentials, as: 'rotateCredentials'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :zone, as: 'zone'
|
2015-12-03 01:10:07 +00:00
|
|
|
end
|
|
|
|
end
|
2017-01-28 03:38:40 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class UpdateClusterRequest
|
2017-01-28 03:38:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :update, as: 'update', class: Google::Apis::ContainerV1::ClusterUpdate, decorator: Google::Apis::ContainerV1::ClusterUpdate::Representation
|
|
|
|
|
2018-03-24 00:35:25 +00:00
|
|
|
property :zone, as: 'zone'
|
2017-01-28 03:38:40 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class UpdateMasterRequest
|
2017-01-28 03:38:40 +00:00
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :master_version, as: 'masterVersion'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-08-25 19:54:22 +00:00
|
|
|
end
|
|
|
|
end
|
2017-01-28 03:38:40 +00:00
|
|
|
|
2017-08-25 19:54:22 +00:00
|
|
|
class UpdateNodePoolRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2018-03-24 00:35:25 +00:00
|
|
|
property :cluster_id, as: 'clusterId'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :image_type, as: 'imageType'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :name, as: 'name'
|
|
|
|
property :node_pool_id, as: 'nodePoolId'
|
2017-08-25 19:54:22 +00:00
|
|
|
property :node_version, as: 'nodeVersion'
|
2018-03-24 00:35:25 +00:00
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
2017-01-28 03:38:40 +00:00
|
|
|
end
|
|
|
|
end
|
2015-07-20 21:49:34 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|