generated/google/apis/container_v1/classes.rb in google-api-client-0.51.0 vs generated/google/apis/container_v1/classes.rb in google-api-client-0.52.0

- old
+ new

@@ -66,10 +66,15 @@ # Configuration for NodeLocal DNSCache # Corresponds to the JSON property `dnsCacheConfig` # @return [Google::Apis::ContainerV1::DnsCacheConfig] attr_accessor :dns_cache_config + # Configuration for the Compute Engine PD CSI driver. + # Corresponds to the JSON property `gcePersistentDiskCsiDriverConfig` + # @return [Google::Apis::ContainerV1::GcePersistentDiskCsiDriverConfig] + attr_accessor :gce_persistent_disk_csi_driver_config + # Configuration options for the horizontal pod autoscaling feature, which # increases or decreases the number of replica pods a replication controller has # based on the resource usage of the existing pods. # Corresponds to the JSON property `horizontalPodAutoscaling` # @return [Google::Apis::ContainerV1::HorizontalPodAutoscaling] @@ -100,10 +105,11 @@ # Update properties of this object def update!(**args) @cloud_run_config = args[:cloud_run_config] if args.key?(:cloud_run_config) @config_connector_config = args[:config_connector_config] if args.key?(:config_connector_config) @dns_cache_config = args[:dns_cache_config] if args.key?(:dns_cache_config) + @gce_persistent_disk_csi_driver_config = args[:gce_persistent_disk_csi_driver_config] if args.key?(:gce_persistent_disk_csi_driver_config) @horizontal_pod_autoscaling = args[:horizontal_pod_autoscaling] if args.key?(:horizontal_pod_autoscaling) @http_load_balancing = args[:http_load_balancing] if args.key?(:http_load_balancing) @kubernetes_dashboard = args[:kubernetes_dashboard] if args.key?(:kubernetes_dashboard) @network_policy_config = args[:network_policy_config] if args.key?(:network_policy_config) end @@ -184,12 +190,12 @@ # disk size is 10GB. If unspecified, the default disk size is 100GB. # Corresponds to the JSON property `diskSizeGb` # @return [Fixnum] attr_accessor :disk_size_gb - # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If - # unspecified, the default disk type is 'pd-standard' + # Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd- + # balanced') If unspecified, the default disk type is 'pd-standard' # Corresponds to the JSON property `diskType` # @return [String] attr_accessor :disk_type # NodeManagement defines the set of node management services turned on for the @@ -721,12 +727,12 @@ # [Output only] The current status of this cluster. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status - # [Output only] Additional information about the current status of this cluster, - # if available. + # [Output only] Deprecated. Use conditions instead. Additional information about + # the current status of this cluster, if available. # Corresponds to the JSON property `statusMessage` # @return [String] attr_accessor :status_message # The name of the Google Compute Engine [subnetwork](https://cloud.google.com/ @@ -987,10 +993,15 @@ # Configuration options for private clusters. # Corresponds to the JSON property `desiredPrivateClusterConfig` # @return [Google::Apis::ContainerV1::PrivateClusterConfig] attr_accessor :desired_private_cluster_config + # The desired state of IPv6 connectivity to Google Services. + # Corresponds to the JSON property `desiredPrivateIpv6GoogleAccess` + # @return [String] + attr_accessor :desired_private_ipv6_google_access + # ReleaseChannel indicates which release channel a cluster is subscribed to. # Release channels are arranged in order of risk. When a cluster is subscribed # to a release channel, Google maintains both the master version and the node # version. Node auto-upgrade defaults to true and cannot be disabled. # Corresponds to the JSON property `desiredReleaseChannel` @@ -1039,10 +1050,11 @@ @desired_monitoring_service = args[:desired_monitoring_service] if args.key?(:desired_monitoring_service) @desired_node_pool_autoscaling = args[:desired_node_pool_autoscaling] if args.key?(:desired_node_pool_autoscaling) @desired_node_pool_id = args[:desired_node_pool_id] if args.key?(:desired_node_pool_id) @desired_node_version = args[:desired_node_version] if args.key?(:desired_node_version) @desired_private_cluster_config = args[:desired_private_cluster_config] if args.key?(:desired_private_cluster_config) + @desired_private_ipv6_google_access = args[:desired_private_ipv6_google_access] if args.key?(:desired_private_ipv6_google_access) @desired_release_channel = args[:desired_release_channel] if args.key?(:desired_release_channel) @desired_resource_usage_export_config = args[:desired_resource_usage_export_config] if args.key?(:desired_resource_usage_export_config) @desired_shielded_nodes = args[:desired_shielded_nodes] if args.key?(:desired_shielded_nodes) @desired_vertical_pod_autoscaling = args[:desired_vertical_pod_autoscaling] if args.key?(:desired_vertical_pod_autoscaling) @desired_workload_identity_config = args[:desired_workload_identity_config] if args.key?(:desired_workload_identity_config) @@ -1340,10 +1352,30 @@ # Update properties of this object def update!(**args) end end + # Configuration for the Compute Engine PD CSI driver. + class GcePersistentDiskCsiDriverConfig + include Google::Apis::Core::Hashable + + # Whether the Compute Engine PD CSI driver is enabled for this cluster. + # Corresponds to the JSON property `enabled` + # @return [Boolean] + attr_accessor :enabled + alias_method :enabled?, :enabled + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @enabled = args[:enabled] if args.key?(:enabled) + end + end + # GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517 class GetJsonWebKeysResponse include Google::Apis::Core::Hashable # RFC-2616: cache control support @@ -2104,10 +2136,16 @@ # cluster is connected. Example: projects/my-project/global/networks/my-network # Corresponds to the JSON property `network` # @return [String] attr_accessor :network + # The desired state of IPv6 connectivity to Google Services. By default, no + # private IPv6 access to or from Google Services (all access will be via IPv4) + # Corresponds to the JSON property `privateIpv6GoogleAccess` + # @return [String] + attr_accessor :private_ipv6_google_access + # Output only. The relative name of the Google Compute Engine [subnetwork](https: # //cloud.google.com/compute/docs/vpc) to which the cluster is connected. # Example: projects/my-project/regions/us-central1/subnetworks/my-subnet # Corresponds to the JSON property `subnetwork` # @return [String] @@ -2120,10 +2158,11 @@ # Update properties of this object def update!(**args) @default_snat_status = args[:default_snat_status] if args.key?(:default_snat_status) @enable_intra_node_visibility = args[:enable_intra_node_visibility] if args.key?(:enable_intra_node_visibility) @network = args[:network] if args.key?(:network) + @private_ipv6_google_access = args[:private_ipv6_google_access] if args.key?(:private_ipv6_google_access) @subnetwork = args[:subnetwork] if args.key?(:subnetwork) end end # Configuration options for the NetworkPolicy feature. https://kubernetes.io/ @@ -2198,12 +2237,12 @@ # disk size is 10GB. If unspecified, the default disk size is 100GB. # Corresponds to the JSON property `diskSizeGb` # @return [Fixnum] attr_accessor :disk_size_gb - # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') If - # unspecified, the default disk type is 'pd-standard' + # Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd- + # balanced') If unspecified, the default disk type is 'pd-standard' # Corresponds to the JSON property `diskType` # @return [String] attr_accessor :disk_type # The image type to use for this node. Note that for a given image type, the @@ -2488,12 +2527,12 @@ # [Output only] The status of the nodes in this pool instance. # Corresponds to the JSON property `status` # @return [String] attr_accessor :status - # [Output only] Additional information about the current status of this node - # pool instance, if available. + # [Output only] Deprecated. Use conditions instead. Additional information about + # the current status of this node pool instance, if available. # Corresponds to the JSON property `statusMessage` # @return [String] attr_accessor :status_message # These upgrade settings control the level of parallelism and the level of @@ -3751,10 +3790,10 @@ @project_id = args[:project_id] if args.key?(:project_id) @zone = args[:zone] if args.key?(:zone) end end - # SetNodePoolSizeRequest sets the size a node pool. + # SetNodePoolSizeRequest sets the size of a node pool. class SetNodePoolSizeRequest include Google::Apis::Core::Hashable # Deprecated. The name of the cluster to update. This field has been deprecated # and replaced by the name field.