generated/google/apis/container_v1/classes.rb in google-api-client-0.20.1 vs generated/google/apis/container_v1/classes.rb in google-api-client-0.21.0

- old
+ new

@@ -362,11 +362,10 @@ # certificates. # Corresponds to the JSON property `masterAuth` # @return [Google::Apis::ContainerV1::MasterAuth] attr_accessor :master_auth - # Master authorized networks is a Beta feature. # 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, # Google Compute Engine Public IPs and Google Prod IPs. # Corresponds to the JSON property `masterAuthorizedNetworksConfig` @@ -541,11 +540,10 @@ # This list must always include the cluster's primary zone. # Corresponds to the JSON property `desiredLocations` # @return [Array<String>] attr_accessor :desired_locations - # Master authorized networks is a Beta feature. # 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, # Google Compute Engine Public IPs and Google Prod IPs. # Corresponds to the JSON property `desiredMasterAuthorizedNetworksConfig` @@ -626,12 +624,11 @@ # Corresponds to the JSON property `clusterId` # @return [String] attr_accessor :cluster_id # The name (project, location, cluster id) of the cluster to complete IP - # rotation. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # rotation. Specified in the format 'projects/*/locations/*/clusters/*'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # Deprecated. The Google Developers Console [project ID or project @@ -723,12 +720,13 @@ # the workload. # Corresponds to the JSON property `nodePool` # @return [Google::Apis::ContainerV1::NodePool] attr_accessor :node_pool - # The parent (project, location, cluster id) where the node pool will be created. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The parent (project, location, cluster id) where the node pool will be + # created. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # Corresponds to the JSON property `parent` # @return [String] attr_accessor :parent # Deprecated. The Google Developers Console [project ID or project @@ -1190,11 +1188,10 @@ @password = args[:password] if args.key?(:password) @username = args[:username] if args.key?(:username) end end - # Master authorized networks is a Beta feature. # 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, # Google Compute Engine Public IPs and Google Prod IPs. class MasterAuthorizedNetworksConfig @@ -1352,12 +1349,13 @@ # Minimum CPU platform to be used by this instance. The instance may be # scheduled on the specified or newer CPU platform. Applicable values are the # friendly names of CPU platforms, such as # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more - # information, read [how to specify min CPU platform](https://cloud.google.com/ - # compute/docs/instances/specify-min-cpu-platform) + # information, read [how to specify min CPU + # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu- + # platform) # Corresponds to the JSON property `minCpuPlatform` # @return [String] attr_accessor :min_cpu_platform # The set of Google API scopes to be made available on all of the @@ -2206,12 +2204,11 @@ # Corresponds to the JSON property `clusterId` # @return [String] attr_accessor :cluster_id # The name (project, location, cluster id) of the cluster to set networking - # policy. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # policy. Specified in the format 'projects/*/locations/*/clusters/*'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # Configuration options for the NetworkPolicy feature. @@ -2436,12 +2433,12 @@ # This field has been deprecated and replaced by the name field. # Corresponds to the JSON property `clusterId` # @return [String] attr_accessor :cluster_id - # The name (project, location, cluster id) of the cluster to start IP rotation. - # Specified in the format 'projects/*/locations/*/clusters/*'. + # The name (project, location, cluster id) of the cluster to start IP + # rotation. Specified in the format 'projects/*/locations/*/clusters/*'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # Deprecated. The Google Developers Console [project ID or project @@ -2449,10 +2446,16 @@ # This field has been deprecated and replaced by the name field. # Corresponds to the JSON property `projectId` # @return [String] attr_accessor :project_id + # Whether to rotate credentials during IP rotation. + # Corresponds to the JSON property `rotateCredentials` + # @return [Boolean] + attr_accessor :rotate_credentials + alias_method :rotate_credentials?, :rotate_credentials + # Deprecated. The name of the Google Compute Engine # [zone](/compute/docs/zones#available) in which the cluster # resides. # This field has been deprecated and replaced by the name field. # Corresponds to the JSON property `zone` @@ -2466,10 +2469,11 @@ # Update properties of this object def update!(**args) @cluster_id = args[:cluster_id] if args.key?(:cluster_id) @name = args[:name] if args.key?(:name) @project_id = args[:project_id] if args.key?(:project_id) + @rotate_credentials = args[:rotate_credentials] if args.key?(:rotate_credentials) @zone = args[:zone] if args.key?(:zone) end end # UpdateClusterRequest updates the settings of a cluster. @@ -2594,11 +2598,12 @@ # The desired image type for the node pool. # Corresponds to the JSON property `imageType` # @return [String] attr_accessor :image_type - # The name (project, location, cluster, node pool) of the node pool to update. - # Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'. + # The name (project, location, cluster, node pool) of the node pool to + # update. Specified in the format + # 'projects/*/locations/*/clusters/*/nodePools/*'. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name # Deprecated. The name of the node pool to upgrade.