From 02f62c9f0085e927a32998636c1bd7242211cebe Mon Sep 17 00:00:00 2001 From: Google APIs Date: Sun, 31 May 2020 00:38:22 +0000 Subject: [PATCH] Autogenerated update (2020-05-31) Update: - container_v1beta1 --- generated/google/apis/container_v1beta1.rb | 2 +- .../google/apis/container_v1beta1/classes.rb | 31 ++++++++++++++++--- .../apis/container_v1beta1/representations.rb | 16 ++++++++++ 3 files changed, 44 insertions(+), 5 deletions(-) diff --git a/generated/google/apis/container_v1beta1.rb b/generated/google/apis/container_v1beta1.rb index 634ef1b11..351242fb1 100644 --- a/generated/google/apis/container_v1beta1.rb +++ b/generated/google/apis/container_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/container-engine/ module ContainerV1beta1 VERSION = 'V1beta1' - REVISION = '20200505' + REVISION = '20200519' # View and manage your data across Google Cloud Platform services AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform' diff --git a/generated/google/apis/container_v1beta1/classes.rb b/generated/google/apis/container_v1beta1/classes.rb index 6f29d727a..7f109bb1c 100644 --- a/generated/google/apis/container_v1beta1/classes.rb +++ b/generated/google/apis/container_v1beta1/classes.rb @@ -209,14 +209,12 @@ module Google # @return [String] attr_accessor :min_cpu_platform - # Scopes that are used by NAP when creating node pools. If oauth_scopes are - # specified, service_account should be empty. + # Scopes that are used by NAP when creating node pools. # Corresponds to the JSON property `oauthScopes` # @return [Array] attr_accessor :oauth_scopes - # The Google Cloud Platform Service Account to be used by the node VMs. If - # service_account is specified, scopes should be empty. + # The Google Cloud Platform Service Account to be used by the node VMs. # Corresponds to the JSON property `serviceAccount` # @return [String] attr_accessor :service_account @@ -638,6 +636,11 @@ module Google # @return [Google::Apis::ContainerV1beta1::MaintenancePolicy] 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. # Authentication can be done using HTTP basic auth or using client # certificates. @@ -872,6 +875,7 @@ module Google @locations = args[:locations] if args.key?(:locations) @logging_service = args[:logging_service] if args.key?(:logging_service) @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_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) @@ -1049,6 +1053,11 @@ module Google # @return [String] 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 # master authorized networks will disallow all external traffic to access # 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_locations = args[:desired_locations] if args.key?(:desired_locations) @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_version = args[:desired_master_version] if args.key?(:desired_master_version) @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service) @@ -2251,6 +2261,19 @@ module Google 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. # Authentication can be done using HTTP basic auth or using client # certificates. diff --git a/generated/google/apis/container_v1beta1/representations.rb b/generated/google/apis/container_v1beta1/representations.rb index 5b54a6639..f7610538c 100644 --- a/generated/google/apis/container_v1beta1/representations.rb +++ b/generated/google/apis/container_v1beta1/representations.rb @@ -304,6 +304,12 @@ module Google include Google::Apis::Core::JsonObjectSupport end + class Master + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class MasterAuth class Representation < Google::Apis::Core::JsonRepresentation; end @@ -781,6 +787,8 @@ module Google property :logging_service, as: 'loggingService' 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_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' 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_version, as: 'desiredMasterVersion' @@ -1176,6 +1186,12 @@ module Google end end + class Master + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class MasterAuth # @private class Representation < Google::Apis::Core::JsonRepresentation