2017-08-26 01:31:01 +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 ContainerV1beta1
|
|
|
|
|
|
|
|
class AcceleratorConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AddonsConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class AutoUpgradeOptions
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class CancelOperationRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class CidrBlock
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ClientCertificateConfig
|
|
|
|
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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
class CreateNodePoolRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-09-21 00:37:23 +00:00
|
|
|
class DailyMaintenanceWindow
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class Empty
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class HorizontalPodAutoscaling
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class HttpLoadBalancing
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class IpAllocationPolicy
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class KubernetesDashboard
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-02-16 00:36:10 +00:00
|
|
|
class LegacyAbac
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class ListClustersResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListNodePoolsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListOperationsResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-04-15 00:36:03 +00:00
|
|
|
class ListUsableSubnetworksResponse
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-09-21 00:37:23 +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-26 01:31:01 +00:00
|
|
|
class MasterAuth
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class MasterAuthorizedNetworksConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-04-15 00:36:03 +00:00
|
|
|
class NetworkConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class NetworkPolicy
|
|
|
|
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-26 01:31:01 +00:00
|
|
|
class NodeConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class NodeManagement
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class NodePool
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class NodePoolAutoscaling
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-09-15 00:36:32 +00:00
|
|
|
class NodeTaint
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class Operation
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-10-06 00:35:09 +00:00
|
|
|
class PodSecurityPolicyConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class RollbackNodePoolUpgradeRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class ServerConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
class SetAddonsConfigRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class SetLabelsRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class SetLegacyAbacRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
class SetLocationsRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-03 00:35:37 +00:00
|
|
|
class SetLoggingServiceRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-09-21 00:37:23 +00:00
|
|
|
class SetMaintenancePolicyRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class SetMasterAuthRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
class SetMonitoringServiceRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class SetNetworkPolicyRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
class SetNodePoolAutoscalingRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class SetNodePoolManagementRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-13 00:36:11 +00:00
|
|
|
class SetNodePoolSizeRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class StartIpRotationRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class UpdateClusterRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
class UpdateMasterRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
|
|
|
class UpdateNodePoolRequest
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-04-15 00:36:03 +00:00
|
|
|
class UsableSubnetwork
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2018-01-13 00:36:11 +00:00
|
|
|
class WorkloadMetadataConfig
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
|
|
|
|
|
|
include Google::Apis::Core::JsonObjectSupport
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class AcceleratorConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
|
|
|
|
property :accelerator_type, as: 'acceleratorType'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AddonsConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :horizontal_pod_autoscaling, as: 'horizontalPodAutoscaling', class: Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling, decorator: Google::Apis::ContainerV1beta1::HorizontalPodAutoscaling::Representation
|
|
|
|
|
|
|
|
property :http_load_balancing, as: 'httpLoadBalancing', class: Google::Apis::ContainerV1beta1::HttpLoadBalancing, decorator: Google::Apis::ContainerV1beta1::HttpLoadBalancing::Representation
|
|
|
|
|
|
|
|
property :kubernetes_dashboard, as: 'kubernetesDashboard', class: Google::Apis::ContainerV1beta1::KubernetesDashboard, decorator: Google::Apis::ContainerV1beta1::KubernetesDashboard::Representation
|
|
|
|
|
2017-09-28 00:36:04 +00:00
|
|
|
property :network_policy_config, as: 'networkPolicyConfig', class: Google::Apis::ContainerV1beta1::NetworkPolicyConfig, decorator: Google::Apis::ContainerV1beta1::NetworkPolicyConfig::Representation
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class AutoUpgradeOptions
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :auto_upgrade_start_time, as: 'autoUpgradeStartTime'
|
|
|
|
property :description, as: 'description'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CancelOperationRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :operation_id, as: 'operationId'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CidrBlock
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cidr_block, as: 'cidrBlock'
|
|
|
|
property :display_name, as: 'displayName'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ClientCertificateConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :issue_client_certificate, as: 'issueClientCertificate'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class Cluster
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1beta1::AddonsConfig, decorator: Google::Apis::ContainerV1beta1::AddonsConfig::Representation
|
|
|
|
|
|
|
|
property :cluster_ipv4_cidr, as: 'clusterIpv4Cidr'
|
|
|
|
property :create_time, as: 'createTime'
|
|
|
|
property :current_master_version, as: 'currentMasterVersion'
|
|
|
|
property :current_node_count, as: 'currentNodeCount'
|
|
|
|
property :current_node_version, as: 'currentNodeVersion'
|
|
|
|
property :description, as: 'description'
|
|
|
|
property :enable_kubernetes_alpha, as: 'enableKubernetesAlpha'
|
|
|
|
property :endpoint, as: 'endpoint'
|
|
|
|
property :expire_time, as: 'expireTime'
|
|
|
|
property :initial_cluster_version, as: 'initialClusterVersion'
|
|
|
|
property :initial_node_count, as: 'initialNodeCount'
|
|
|
|
collection :instance_group_urls, as: 'instanceGroupUrls'
|
|
|
|
property :ip_allocation_policy, as: 'ipAllocationPolicy', class: Google::Apis::ContainerV1beta1::IpAllocationPolicy, decorator: Google::Apis::ContainerV1beta1::IpAllocationPolicy::Representation
|
|
|
|
|
2018-02-16 00:36:10 +00:00
|
|
|
property :label_fingerprint, as: 'labelFingerprint'
|
|
|
|
property :legacy_abac, as: 'legacyAbac', class: Google::Apis::ContainerV1beta1::LegacyAbac, decorator: Google::Apis::ContainerV1beta1::LegacyAbac::Representation
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
property :location, as: 'location'
|
|
|
|
collection :locations, as: 'locations'
|
|
|
|
property :logging_service, as: 'loggingService'
|
2017-09-21 00:37:23 +00:00
|
|
|
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1beta1::MaintenancePolicy, decorator: Google::Apis::ContainerV1beta1::MaintenancePolicy::Representation
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
property :master_auth, as: 'masterAuth', class: Google::Apis::ContainerV1beta1::MasterAuth, decorator: Google::Apis::ContainerV1beta1::MasterAuth::Representation
|
|
|
|
|
|
|
|
property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation
|
|
|
|
|
2018-03-16 00:35:53 +00:00
|
|
|
property :master_ipv4_cidr_block, as: 'masterIpv4CidrBlock'
|
2017-08-26 01:31:01 +00:00
|
|
|
property :monitoring_service, as: 'monitoringService'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :network, as: 'network'
|
2018-04-15 00:36:03 +00:00
|
|
|
property :network_config, as: 'networkConfig', class: Google::Apis::ContainerV1beta1::NetworkConfig, decorator: Google::Apis::ContainerV1beta1::NetworkConfig::Representation
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
property :network_policy, as: 'networkPolicy', class: Google::Apis::ContainerV1beta1::NetworkPolicy, decorator: Google::Apis::ContainerV1beta1::NetworkPolicy::Representation
|
|
|
|
|
|
|
|
property :node_config, as: 'nodeConfig', class: Google::Apis::ContainerV1beta1::NodeConfig, decorator: Google::Apis::ContainerV1beta1::NodeConfig::Representation
|
|
|
|
|
|
|
|
property :node_ipv4_cidr_size, as: 'nodeIpv4CidrSize'
|
|
|
|
collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1beta1::NodePool, decorator: Google::Apis::ContainerV1beta1::NodePool::Representation
|
|
|
|
|
2017-10-06 00:35:09 +00:00
|
|
|
property :pod_security_policy_config, as: 'podSecurityPolicyConfig', class: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig, decorator: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig::Representation
|
|
|
|
|
2018-03-16 00:35:53 +00:00
|
|
|
property :private_cluster, as: 'privateCluster'
|
2018-02-16 00:36:10 +00:00
|
|
|
hash :resource_labels, as: 'resourceLabels'
|
2017-08-26 01:31:01 +00:00
|
|
|
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'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ClusterUpdate
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :desired_addons_config, as: 'desiredAddonsConfig', class: Google::Apis::ContainerV1beta1::AddonsConfig, decorator: Google::Apis::ContainerV1beta1::AddonsConfig::Representation
|
|
|
|
|
|
|
|
property :desired_image_type, as: 'desiredImageType'
|
|
|
|
collection :desired_locations, as: 'desiredLocations'
|
|
|
|
property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation
|
|
|
|
|
|
|
|
property :desired_master_version, as: 'desiredMasterVersion'
|
|
|
|
property :desired_monitoring_service, as: 'desiredMonitoringService'
|
|
|
|
property :desired_node_pool_autoscaling, as: 'desiredNodePoolAutoscaling', class: Google::Apis::ContainerV1beta1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1beta1::NodePoolAutoscaling::Representation
|
|
|
|
|
|
|
|
property :desired_node_pool_id, as: 'desiredNodePoolId'
|
|
|
|
property :desired_node_version, as: 'desiredNodeVersion'
|
2017-10-06 00:35:09 +00:00
|
|
|
property :desired_pod_security_policy_config, as: 'desiredPodSecurityPolicyConfig', class: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig, decorator: Google::Apis::ContainerV1beta1::PodSecurityPolicyConfig::Representation
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CompleteIpRotationRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CreateClusterRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster, as: 'cluster', class: Google::Apis::ContainerV1beta1::Cluster, decorator: Google::Apis::ContainerV1beta1::Cluster::Representation
|
|
|
|
|
|
|
|
property :parent, as: 'parent'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class CreateNodePoolRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :node_pool, as: 'nodePool', class: Google::Apis::ContainerV1beta1::NodePool, decorator: Google::Apis::ContainerV1beta1::NodePool::Representation
|
|
|
|
|
|
|
|
property :parent, as: 'parent'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-09-21 00:37:23 +00:00
|
|
|
class DailyMaintenanceWindow
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :duration, as: 'duration'
|
|
|
|
property :start_time, as: 'startTime'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class Empty
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class HorizontalPodAutoscaling
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :disabled, as: 'disabled'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class HttpLoadBalancing
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :disabled, as: 'disabled'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class IpAllocationPolicy
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2017-12-01 00:36:08 +00:00
|
|
|
property :allow_route_overlap, as: 'allowRouteOverlap'
|
2017-08-26 01:31:01 +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-26 01:31:01 +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-26 01:31:01 +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-26 01:31:01 +00:00
|
|
|
property :subnetwork_name, as: 'subnetworkName'
|
|
|
|
property :use_ip_aliases, as: 'useIpAliases'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class KubernetesDashboard
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :disabled, as: 'disabled'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-02-16 00:36:10 +00:00
|
|
|
class LegacyAbac
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :enabled, as: 'enabled'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class ListClustersResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :clusters, as: 'clusters', class: Google::Apis::ContainerV1beta1::Cluster, decorator: Google::Apis::ContainerV1beta1::Cluster::Representation
|
|
|
|
|
|
|
|
collection :missing_zones, as: 'missingZones'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListNodePoolsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :node_pools, as: 'nodePools', class: Google::Apis::ContainerV1beta1::NodePool, decorator: Google::Apis::ContainerV1beta1::NodePool::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class ListOperationsResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :missing_zones, as: 'missingZones'
|
|
|
|
collection :operations, as: 'operations', class: Google::Apis::ContainerV1beta1::Operation, decorator: Google::Apis::ContainerV1beta1::Operation::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-04-15 00:36:03 +00:00
|
|
|
class ListUsableSubnetworksResponse
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :next_page_token, as: 'nextPageToken'
|
|
|
|
collection :subnetworks, as: 'subnetworks', class: Google::Apis::ContainerV1beta1::UsableSubnetwork, decorator: Google::Apis::ContainerV1beta1::UsableSubnetwork::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-09-21 00:37:23 +00:00
|
|
|
class MaintenancePolicy
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :window, as: 'window', class: Google::Apis::ContainerV1beta1::MaintenanceWindow, decorator: Google::Apis::ContainerV1beta1::MaintenanceWindow::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MaintenanceWindow
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :daily_maintenance_window, as: 'dailyMaintenanceWindow', class: Google::Apis::ContainerV1beta1::DailyMaintenanceWindow, decorator: Google::Apis::ContainerV1beta1::DailyMaintenanceWindow::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class MasterAuth
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :client_certificate, as: 'clientCertificate'
|
|
|
|
property :client_certificate_config, as: 'clientCertificateConfig', class: Google::Apis::ContainerV1beta1::ClientCertificateConfig, decorator: Google::Apis::ContainerV1beta1::ClientCertificateConfig::Representation
|
|
|
|
|
|
|
|
property :client_key, as: 'clientKey'
|
|
|
|
property :cluster_ca_certificate, as: 'clusterCaCertificate'
|
|
|
|
property :password, as: 'password'
|
|
|
|
property :username, as: 'username'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class MasterAuthorizedNetworksConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :cidr_blocks, as: 'cidrBlocks', class: Google::Apis::ContainerV1beta1::CidrBlock, decorator: Google::Apis::ContainerV1beta1::CidrBlock::Representation
|
|
|
|
|
|
|
|
property :enabled, as: 'enabled'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-04-15 00:36:03 +00:00
|
|
|
class NetworkConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :network, as: 'network'
|
|
|
|
property :subnetwork, as: 'subnetwork'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class NetworkPolicy
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :enabled, as: 'enabled'
|
|
|
|
property :provider, as: 'provider'
|
|
|
|
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-26 01:31:01 +00:00
|
|
|
class NodeConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
collection :accelerators, as: 'accelerators', class: Google::Apis::ContainerV1beta1::AcceleratorConfig, decorator: Google::Apis::ContainerV1beta1::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-26 01:31:01 +00:00
|
|
|
collection :oauth_scopes, as: 'oauthScopes'
|
|
|
|
property :preemptible, as: 'preemptible'
|
|
|
|
property :service_account, as: 'serviceAccount'
|
|
|
|
collection :tags, as: 'tags'
|
2017-09-15 00:36:32 +00:00
|
|
|
collection :taints, as: 'taints', class: Google::Apis::ContainerV1beta1::NodeTaint, decorator: Google::Apis::ContainerV1beta1::NodeTaint::Representation
|
|
|
|
|
2018-01-13 00:36:11 +00:00
|
|
|
property :workload_metadata_config, as: 'workloadMetadataConfig', class: Google::Apis::ContainerV1beta1::WorkloadMetadataConfig, decorator: Google::Apis::ContainerV1beta1::WorkloadMetadataConfig::Representation
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class NodeManagement
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :auto_repair, as: 'autoRepair'
|
|
|
|
property :auto_upgrade, as: 'autoUpgrade'
|
|
|
|
property :upgrade_options, as: 'upgradeOptions', class: Google::Apis::ContainerV1beta1::AutoUpgradeOptions, decorator: Google::Apis::ContainerV1beta1::AutoUpgradeOptions::Representation
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class NodePool
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1beta1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1beta1::NodePoolAutoscaling::Representation
|
|
|
|
|
|
|
|
property :config, as: 'config', class: Google::Apis::ContainerV1beta1::NodeConfig, decorator: Google::Apis::ContainerV1beta1::NodeConfig::Representation
|
|
|
|
|
|
|
|
property :initial_node_count, as: 'initialNodeCount'
|
|
|
|
collection :instance_group_urls, as: 'instanceGroupUrls'
|
|
|
|
property :management, as: 'management', class: Google::Apis::ContainerV1beta1::NodeManagement, decorator: Google::Apis::ContainerV1beta1::NodeManagement::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :self_link, as: 'selfLink'
|
|
|
|
property :status, as: 'status'
|
|
|
|
property :status_message, as: 'statusMessage'
|
|
|
|
property :version, as: 'version'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class NodePoolAutoscaling
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :enabled, as: 'enabled'
|
|
|
|
property :max_node_count, as: 'maxNodeCount'
|
|
|
|
property :min_node_count, as: 'minNodeCount'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-09-15 00:36:32 +00:00
|
|
|
class NodeTaint
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :effect, as: 'effect'
|
|
|
|
property :key, as: 'key'
|
|
|
|
property :value, as: 'value'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class Operation
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :detail, as: 'detail'
|
2017-09-08 00:35:46 +00:00
|
|
|
property :end_time, as: 'endTime'
|
2017-08-26 01:31:01 +00:00
|
|
|
property :location, as: 'location'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :operation_type, as: 'operationType'
|
|
|
|
property :self_link, as: 'selfLink'
|
2017-09-08 00:35:46 +00:00
|
|
|
property :start_time, as: 'startTime'
|
2017-08-26 01:31:01 +00:00
|
|
|
property :status, as: 'status'
|
|
|
|
property :status_message, as: 'statusMessage'
|
|
|
|
property :target_link, as: 'targetLink'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-10-06 00:35:09 +00:00
|
|
|
class PodSecurityPolicyConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :enabled, as: 'enabled'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class RollbackNodePoolUpgradeRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :node_pool_id, as: 'nodePoolId'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
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'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
class SetAddonsConfigRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :addons_config, as: 'addonsConfig', class: Google::Apis::ContainerV1beta1::AddonsConfig, decorator: Google::Apis::ContainerV1beta1::AddonsConfig::Representation
|
|
|
|
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class SetLabelsRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :label_fingerprint, as: 'labelFingerprint'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
hash :resource_labels, as: 'resourceLabels'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class SetLegacyAbacRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :enabled, as: 'enabled'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
2017-11-03 00:35:37 +00:00
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
class SetLocationsRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
collection :locations, as: 'locations'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-03 00:35:37 +00:00
|
|
|
class SetLoggingServiceRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :logging_service, as: 'loggingService'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
2017-08-26 01:31:01 +00:00
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-09-21 00:37:23 +00:00
|
|
|
class SetMaintenancePolicyRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1beta1::MaintenancePolicy, decorator: Google::Apis::ContainerV1beta1::MaintenancePolicy::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class SetMasterAuthRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :action, as: 'action'
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :update, as: 'update', class: Google::Apis::ContainerV1beta1::MasterAuth, decorator: Google::Apis::ContainerV1beta1::MasterAuth::Representation
|
|
|
|
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
class SetMonitoringServiceRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :monitoring_service, as: 'monitoringService'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class SetNetworkPolicyRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :network_policy, as: 'networkPolicy', class: Google::Apis::ContainerV1beta1::NetworkPolicy, decorator: Google::Apis::ContainerV1beta1::NetworkPolicy::Representation
|
|
|
|
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-11-10 00:35:09 +00:00
|
|
|
class SetNodePoolAutoscalingRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :autoscaling, as: 'autoscaling', class: Google::Apis::ContainerV1beta1::NodePoolAutoscaling, decorator: Google::Apis::ContainerV1beta1::NodePoolAutoscaling::Representation
|
|
|
|
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :node_pool_id, as: 'nodePoolId'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class SetNodePoolManagementRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :management, as: 'management', class: Google::Apis::ContainerV1beta1::NodeManagement, decorator: Google::Apis::ContainerV1beta1::NodeManagement::Representation
|
|
|
|
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :node_pool_id, as: 'nodePoolId'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-13 00:36:11 +00:00
|
|
|
class SetNodePoolSizeRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :node_count, as: 'nodeCount'
|
|
|
|
property :node_pool_id, as: 'nodePoolId'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2017-08-26 01:31:01 +00:00
|
|
|
class StartIpRotationRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
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'
|
2017-08-26 01:31:01 +00:00
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class UpdateClusterRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :update, as: 'update', class: Google::Apis::ContainerV1beta1::ClusterUpdate, decorator: Google::Apis::ContainerV1beta1::ClusterUpdate::Representation
|
|
|
|
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
2017-11-10 00:35:09 +00:00
|
|
|
|
|
|
|
class UpdateMasterRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :master_version, as: 'masterVersion'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
class UpdateNodePoolRequest
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :cluster_id, as: 'clusterId'
|
|
|
|
property :image_type, as: 'imageType'
|
|
|
|
property :name, as: 'name'
|
|
|
|
property :node_pool_id, as: 'nodePoolId'
|
|
|
|
property :node_version, as: 'nodeVersion'
|
|
|
|
property :project_id, as: 'projectId'
|
|
|
|
property :zone, as: 'zone'
|
|
|
|
end
|
|
|
|
end
|
2018-01-13 00:36:11 +00:00
|
|
|
|
2018-04-15 00:36:03 +00:00
|
|
|
class UsableSubnetwork
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :ip_cidr_range, as: 'ipCidrRange'
|
|
|
|
property :network, as: 'network'
|
|
|
|
property :subnetwork, as: 'subnetwork'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2018-01-13 00:36:11 +00:00
|
|
|
class WorkloadMetadataConfig
|
|
|
|
# @private
|
|
|
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
|
|
property :node_metadata, as: 'nodeMetadata'
|
|
|
|
end
|
|
|
|
end
|
2017-08-26 01:31:01 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|