Autogenerated update (2020-05-31)

Update:
- container_v1beta1
This commit is contained in:
Google APIs 2020-05-31 00:38:22 +00:00
parent 47446c3161
commit 02f62c9f00
3 changed files with 44 additions and 5 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/container-engine/ # @see https://cloud.google.com/container-engine/
module ContainerV1beta1 module ContainerV1beta1
VERSION = 'V1beta1' VERSION = 'V1beta1'
REVISION = '20200505' REVISION = '20200519'
# View and manage your data across Google Cloud Platform services # View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -209,14 +209,12 @@ module Google
# @return [String] # @return [String]
attr_accessor :min_cpu_platform attr_accessor :min_cpu_platform
# Scopes that are used by NAP when creating node pools. If oauth_scopes are # Scopes that are used by NAP when creating node pools.
# specified, service_account should be empty.
# Corresponds to the JSON property `oauthScopes` # Corresponds to the JSON property `oauthScopes`
# @return [Array<String>] # @return [Array<String>]
attr_accessor :oauth_scopes attr_accessor :oauth_scopes
# The Google Cloud Platform Service Account to be used by the node VMs. If # The Google Cloud Platform Service Account to be used by the node VMs.
# service_account is specified, scopes should be empty.
# Corresponds to the JSON property `serviceAccount` # Corresponds to the JSON property `serviceAccount`
# @return [String] # @return [String]
attr_accessor :service_account attr_accessor :service_account
@ -638,6 +636,11 @@ module Google
# @return [Google::Apis::ContainerV1beta1::MaintenancePolicy] # @return [Google::Apis::ContainerV1beta1::MaintenancePolicy]
attr_accessor :maintenance_policy attr_accessor :maintenance_policy
# Master is the configuration for components on master.
# Corresponds to the JSON property `master`
# @return [Google::Apis::ContainerV1beta1::Master]
attr_accessor :master
# The authentication information for accessing the master endpoint. # The authentication information for accessing the master endpoint.
# Authentication can be done using HTTP basic auth or using client # Authentication can be done using HTTP basic auth or using client
# certificates. # certificates.
@ -872,6 +875,7 @@ module Google
@locations = args[:locations] if args.key?(:locations) @locations = args[:locations] if args.key?(:locations)
@logging_service = args[:logging_service] if args.key?(:logging_service) @logging_service = args[:logging_service] if args.key?(:logging_service)
@maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy) @maintenance_policy = args[:maintenance_policy] if args.key?(:maintenance_policy)
@master = args[:master] if args.key?(:master)
@master_auth = args[:master_auth] if args.key?(:master_auth) @master_auth = args[:master_auth] if args.key?(:master_auth)
@master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config) @master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
@master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block) @master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
@ -1049,6 +1053,11 @@ module Google
# @return [String] # @return [String]
attr_accessor :desired_logging_service attr_accessor :desired_logging_service
# Master is the configuration for components on master.
# Corresponds to the JSON property `desiredMaster`
# @return [Google::Apis::ContainerV1beta1::Master]
attr_accessor :desired_master
# Configuration options for the master authorized networks feature. Enabled # Configuration options for the master authorized networks feature. Enabled
# master authorized networks will disallow all external traffic to access # master authorized networks will disallow all external traffic to access
# Kubernetes master through HTTPS except traffic from the given CIDR blocks, # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
@ -1175,6 +1184,7 @@ module Google
@desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config) @desired_intra_node_visibility_config = args[:desired_intra_node_visibility_config] if args.key?(:desired_intra_node_visibility_config)
@desired_locations = args[:desired_locations] if args.key?(:desired_locations) @desired_locations = args[:desired_locations] if args.key?(:desired_locations)
@desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service) @desired_logging_service = args[:desired_logging_service] if args.key?(:desired_logging_service)
@desired_master = args[:desired_master] if args.key?(:desired_master)
@desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config) @desired_master_authorized_networks_config = args[:desired_master_authorized_networks_config] if args.key?(:desired_master_authorized_networks_config)
@desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version) @desired_master_version = args[:desired_master_version] if args.key?(:desired_master_version)
@desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service) @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service)
@ -2251,6 +2261,19 @@ module Google
end end
end end
# Master is the configuration for components on master.
class Master
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
end
end
# The authentication information for accessing the master endpoint. # The authentication information for accessing the master endpoint.
# Authentication can be done using HTTP basic auth or using client # Authentication can be done using HTTP basic auth or using client
# certificates. # certificates.

View File

@ -304,6 +304,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport include Google::Apis::Core::JsonObjectSupport
end end
class Master
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class MasterAuth class MasterAuth
class Representation < Google::Apis::Core::JsonRepresentation; end class Representation < Google::Apis::Core::JsonRepresentation; end
@ -781,6 +787,8 @@ module Google
property :logging_service, as: 'loggingService' property :logging_service, as: 'loggingService'
property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1beta1::MaintenancePolicy, decorator: Google::Apis::ContainerV1beta1::MaintenancePolicy::Representation property :maintenance_policy, as: 'maintenancePolicy', class: Google::Apis::ContainerV1beta1::MaintenancePolicy, decorator: Google::Apis::ContainerV1beta1::MaintenancePolicy::Representation
property :master, as: 'master', class: Google::Apis::ContainerV1beta1::Master, decorator: Google::Apis::ContainerV1beta1::Master::Representation
property :master_auth, as: 'masterAuth', class: Google::Apis::ContainerV1beta1::MasterAuth, decorator: Google::Apis::ContainerV1beta1::MasterAuth::Representation 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 property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation
@ -866,6 +874,8 @@ module Google
collection :desired_locations, as: 'desiredLocations' collection :desired_locations, as: 'desiredLocations'
property :desired_logging_service, as: 'desiredLoggingService' property :desired_logging_service, as: 'desiredLoggingService'
property :desired_master, as: 'desiredMaster', class: Google::Apis::ContainerV1beta1::Master, decorator: Google::Apis::ContainerV1beta1::Master::Representation
property :desired_master_authorized_networks_config, as: 'desiredMasterAuthorizedNetworksConfig', class: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ContainerV1beta1::MasterAuthorizedNetworksConfig::Representation 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_master_version, as: 'desiredMasterVersion'
@ -1176,6 +1186,12 @@ module Google
end end
end end
class Master
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class MasterAuth class MasterAuth
# @private # @private
class Representation < Google::Apis::Core::JsonRepresentation class Representation < Google::Apis::Core::JsonRepresentation