#[non_exhaustive]pub struct Cluster {Show 74 fields
pub name: String,
pub description: String,
pub initial_node_count: i32,
pub node_config: Option<NodeConfig>,
pub master_auth: Option<MasterAuth>,
pub logging_service: String,
pub monitoring_service: String,
pub network: String,
pub cluster_ipv4_cidr: String,
pub addons_config: Option<AddonsConfig>,
pub subnetwork: String,
pub node_pools: Vec<NodePool>,
pub locations: Vec<String>,
pub enable_kubernetes_alpha: bool,
pub resource_labels: HashMap<String, String>,
pub label_fingerprint: String,
pub legacy_abac: Option<LegacyAbac>,
pub network_policy: Option<NetworkPolicy>,
pub ip_allocation_policy: Option<IPAllocationPolicy>,
pub master_authorized_networks_config: Option<MasterAuthorizedNetworksConfig>,
pub maintenance_policy: Option<MaintenancePolicy>,
pub binary_authorization: Option<BinaryAuthorization>,
pub autoscaling: Option<ClusterAutoscaling>,
pub network_config: Option<NetworkConfig>,
pub default_max_pods_constraint: Option<MaxPodsConstraint>,
pub resource_usage_export_config: Option<ResourceUsageExportConfig>,
pub authenticator_groups_config: Option<AuthenticatorGroupsConfig>,
pub private_cluster_config: Option<PrivateClusterConfig>,
pub database_encryption: Option<DatabaseEncryption>,
pub vertical_pod_autoscaling: Option<VerticalPodAutoscaling>,
pub shielded_nodes: Option<ShieldedNodes>,
pub release_channel: Option<ReleaseChannel>,
pub workload_identity_config: Option<WorkloadIdentityConfig>,
pub mesh_certificates: Option<MeshCertificates>,
pub cost_management_config: Option<CostManagementConfig>,
pub notification_config: Option<NotificationConfig>,
pub confidential_nodes: Option<ConfidentialNodes>,
pub identity_service_config: Option<IdentityServiceConfig>,
pub self_link: String,
pub zone: String,
pub endpoint: String,
pub initial_cluster_version: String,
pub current_master_version: String,
pub current_node_version: String,
pub create_time: String,
pub status: Status,
pub status_message: String,
pub node_ipv4_cidr_size: i32,
pub services_ipv4_cidr: String,
pub instance_group_urls: Vec<String>,
pub current_node_count: i32,
pub expire_time: String,
pub location: String,
pub enable_tpu: bool,
pub tpu_ipv4_cidr_block: String,
pub conditions: Vec<StatusCondition>,
pub autopilot: Option<Autopilot>,
pub id: String,
pub node_pool_defaults: Option<NodePoolDefaults>,
pub logging_config: Option<LoggingConfig>,
pub monitoring_config: Option<MonitoringConfig>,
pub node_pool_auto_config: Option<NodePoolAutoConfig>,
pub etag: String,
pub fleet: Option<Fleet>,
pub security_posture_config: Option<SecurityPostureConfig>,
pub control_plane_endpoints_config: Option<ControlPlaneEndpointsConfig>,
pub enable_k8s_beta_apis: Option<K8sBetaAPIConfig>,
pub enterprise_config: Option<EnterpriseConfig>,
pub secret_manager_config: Option<SecretManagerConfig>,
pub compliance_posture_config: Option<CompliancePostureConfig>,
pub satisfies_pzs: Option<bool>,
pub satisfies_pzi: Option<bool>,
pub user_managed_keys_config: Option<UserManagedKeysConfig>,
pub rbac_binding_config: Option<RBACBindingConfig>,
}Expand description
A Google Kubernetes Engine cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringThe name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions:
- Lowercase letters, numbers, and hyphens only.
- Must start with a letter.
- Must end with a number or a letter.
description: StringAn optional description of this cluster.
initial_node_count: i32The number of nodes to create in this cluster. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a “node_pool” object, since this configuration (along with the “node_config”) will be used to create a “NodePool” object with an auto-generated name. Do not use this and a node_pool at the same time.
This field is deprecated, use node_pool.initial_node_count instead.
node_config: Option<NodeConfig>Parameters used in creating the cluster’s nodes.
For requests, this field should only be used in lieu of a
“node_pool” object, since this configuration (along with the
“initial_node_count”) will be used to create a “NodePool” object with an
auto-generated name. Do not use this and a node_pool at the same time.
For responses, this field will be populated with the node configuration of
the first node pool. (For configuration of each node pool, see
node_pool.config)
If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead.
master_auth: Option<MasterAuth>The authentication information for accessing the master endpoint.
If unspecified, the defaults are used:
For clusters before v1.12, if master_auth is unspecified, username will
be set to “admin”, a random password will be generated, and a client
certificate will be issued.
logging_service: StringThe logging service the cluster should use to write logs. Currently available options:
logging.googleapis.com/kubernetes- The Cloud Logging service with a Kubernetes-native resource modellogging.googleapis.com- The legacy Cloud Logging service (no longer available as of GKE 1.15).none- no logs will be exported from the cluster.
If left as an empty string,logging.googleapis.com/kubernetes will be
used for GKE 1.14+ or logging.googleapis.com for earlier versions.
monitoring_service: StringThe monitoring service the cluster should use to write metrics. Currently available options:
- “monitoring.googleapis.com/kubernetes” - The Cloud Monitoring service with a Kubernetes-native resource model
monitoring.googleapis.com- The legacy Cloud Monitoring service (no longer available as of GKE 1.15).none- No metrics will be exported from the cluster.
If left as an empty string,monitoring.googleapis.com/kubernetes will be
used for GKE 1.14+ or monitoring.googleapis.com for earlier versions.
network: StringThe name of the Google Compute Engine
network
to which the cluster is connected. If left unspecified, the default
network will be used.
cluster_ipv4_cidr: StringThe IP address range of the container pods in this cluster, in
CIDR
notation (e.g. 10.96.0.0/14). Leave blank to have
one automatically chosen or specify a /14 block in 10.0.0.0/8.
addons_config: Option<AddonsConfig>Configurations for the various addons available to run in the cluster.
subnetwork: StringThe name of the Google Compute Engine subnetwork to which the cluster is connected.
node_pools: Vec<NodePool>The node pools associated with this cluster. This field should not be set if “node_config” or “initial_node_count” are specified.
locations: Vec<String>The list of Google Compute Engine zones in which the cluster’s nodes should be located.
This field provides a default value if NodePool.Locations are not specified during node pool creation.
Warning: changing cluster locations will update the NodePool.Locations of all node pools and will result in nodes being added and/or removed.
enable_kubernetes_alpha: boolKubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1alpha1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
resource_labels: HashMap<String, String>The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
label_fingerprint: StringThe fingerprint of the set of labels for this cluster.
legacy_abac: Option<LegacyAbac>Configuration for the legacy ABAC authorization mode.
network_policy: Option<NetworkPolicy>Configuration options for the NetworkPolicy feature.
ip_allocation_policy: Option<IPAllocationPolicy>Configuration for cluster IP allocation.
The configuration options for master authorized networks feature.
Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config instead.
maintenance_policy: Option<MaintenancePolicy>Configure the maintenance policy for this cluster.
Configuration for Binary Authorization.
autoscaling: Option<ClusterAutoscaling>Cluster-level autoscaling configuration.
network_config: Option<NetworkConfig>Configuration for cluster networking.
default_max_pods_constraint: Option<MaxPodsConstraint>The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
resource_usage_export_config: Option<ResourceUsageExportConfig>Configuration for exporting resource usages. Resource usage export is disabled when this config is unspecified.
authenticator_groups_config: Option<AuthenticatorGroupsConfig>Configuration controlling RBAC group membership information.
private_cluster_config: Option<PrivateClusterConfig>Configuration for private cluster.
database_encryption: Option<DatabaseEncryption>Configuration of etcd encryption.
vertical_pod_autoscaling: Option<VerticalPodAutoscaling>Cluster-level Vertical Pod Autoscaling configuration.
shielded_nodes: Option<ShieldedNodes>Shielded Nodes configuration.
release_channel: Option<ReleaseChannel>Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version.
workload_identity_config: Option<WorkloadIdentityConfig>Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
mesh_certificates: Option<MeshCertificates>Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
cost_management_config: Option<CostManagementConfig>Configuration for the fine-grained cost management feature.
notification_config: Option<NotificationConfig>Notification configuration of the cluster.
confidential_nodes: Option<ConfidentialNodes>Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled.
identity_service_config: Option<IdentityServiceConfig>Configuration for Identity Service component.
self_link: StringOutput only. Server-defined URL for the resource.
zone: StringOutput only. The name of the Google Compute Engine zone in which the cluster resides. This field is deprecated, use location instead.
endpoint: StringOutput only. The IP address of this cluster’s master endpoint.
The endpoint can be accessed from the internet at
https://username:password@endpoint/.
See the masterAuth property of this resource for username and
password information.
initial_cluster_version: StringThe initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion.
Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior:
- “latest”: picks the highest valid Kubernetes version
- “1.X”: picks the highest valid patch+gke.N patch in the 1.X version
- “1.X.Y”: picks the highest valid gke.N patch in the 1.X.Y version
- “1.X.Y-gke.N”: picks an explicit Kubernetes version
- “”,“-”: picks the default Kubernetes version
current_master_version: StringOutput only. The current software version of the master endpoint.
current_node_version: StringOutput only. Deprecated, use NodePools.version instead. The current version of the node software components. If they are currently at multiple versions because they’re in the process of being upgraded, this reflects the minimum version of all nodes.
create_time: StringOutput only. The time the cluster was created, in RFC3339 text format.
status: StatusOutput only. The current status of this cluster.
status_message: StringOutput only. Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
node_ipv4_cidr_size: i32Output only. The size of the address space on each node for hosting
containers. This is provisioned from within the container_ipv4_cidr
range. This field will only be set when cluster is in route-based network
mode.
services_ipv4_cidr: StringOutput only. The IP address range of the Kubernetes services in
this cluster, in
CIDR
notation (e.g. 1.2.3.4/29). Service addresses are
typically put in the last /16 from the container CIDR.
instance_group_urls: Vec<String>Output only. Deprecated. Use node_pools.instance_group_urls.
current_node_count: i32Output only. The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
expire_time: StringOutput only. The time the cluster will be automatically deleted in RFC3339 text format.
location: String§enable_tpu: boolEnable the ability to use Cloud TPUs in this cluster.
tpu_ipv4_cidr_block: StringOutput only. The IP address range of the Cloud TPUs in this cluster, in
CIDR
notation (e.g. 1.2.3.4/29).
conditions: Vec<StatusCondition>Which conditions caused the current cluster state.
autopilot: Option<Autopilot>Autopilot configuration for the cluster.
id: StringOutput only. Unique id for the cluster.
node_pool_defaults: Option<NodePoolDefaults>Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
logging_config: Option<LoggingConfig>Logging configuration for the cluster.
monitoring_config: Option<MonitoringConfig>Monitoring configuration for the cluster.
node_pool_auto_config: Option<NodePoolAutoConfig>Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
etag: StringThis checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.
fleet: Option<Fleet>Fleet information for the cluster.
security_posture_config: Option<SecurityPostureConfig>Enable/Disable Security Posture API features for the cluster.
control_plane_endpoints_config: Option<ControlPlaneEndpointsConfig>Configuration for all cluster’s control plane endpoints.
enable_k8s_beta_apis: Option<K8sBetaAPIConfig>Beta APIs Config
enterprise_config: Option<EnterpriseConfig>GKE Enterprise Configuration.
secret_manager_config: Option<SecretManagerConfig>Secret CSI driver configuration.
compliance_posture_config: Option<CompliancePostureConfig>Enable/Disable Compliance Posture features for the cluster.
satisfies_pzs: Option<bool>Output only. Reserved for future use.
satisfies_pzi: Option<bool>Output only. Reserved for future use.
user_managed_keys_config: Option<UserManagedKeysConfig>The Custom keys configuration for the cluster.
rbac_binding_config: Option<RBACBindingConfig>RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.
Implementations§
Source§impl Cluster
impl Cluster
Sourcepub fn set_description<T: Into<String>>(self, v: T) -> Self
pub fn set_description<T: Into<String>>(self, v: T) -> Self
Sets the value of description.
Sourcepub fn set_initial_node_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_initial_node_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of initial_node_count.
Sourcepub fn set_node_config<T: Into<Option<NodeConfig>>>(self, v: T) -> Self
pub fn set_node_config<T: Into<Option<NodeConfig>>>(self, v: T) -> Self
Sets the value of node_config.
Sourcepub fn set_master_auth<T: Into<Option<MasterAuth>>>(self, v: T) -> Self
pub fn set_master_auth<T: Into<Option<MasterAuth>>>(self, v: T) -> Self
Sets the value of master_auth.
Sourcepub fn set_logging_service<T: Into<String>>(self, v: T) -> Self
pub fn set_logging_service<T: Into<String>>(self, v: T) -> Self
Sets the value of logging_service.
Sourcepub fn set_monitoring_service<T: Into<String>>(self, v: T) -> Self
pub fn set_monitoring_service<T: Into<String>>(self, v: T) -> Self
Sets the value of monitoring_service.
Sourcepub fn set_network<T: Into<String>>(self, v: T) -> Self
pub fn set_network<T: Into<String>>(self, v: T) -> Self
Sets the value of network.
Sourcepub fn set_cluster_ipv4_cidr<T: Into<String>>(self, v: T) -> Self
pub fn set_cluster_ipv4_cidr<T: Into<String>>(self, v: T) -> Self
Sets the value of cluster_ipv4_cidr.
Sourcepub fn set_addons_config<T: Into<Option<AddonsConfig>>>(self, v: T) -> Self
pub fn set_addons_config<T: Into<Option<AddonsConfig>>>(self, v: T) -> Self
Sets the value of addons_config.
Sourcepub fn set_subnetwork<T: Into<String>>(self, v: T) -> Self
pub fn set_subnetwork<T: Into<String>>(self, v: T) -> Self
Sets the value of subnetwork.
Sourcepub fn set_enable_kubernetes_alpha<T: Into<bool>>(self, v: T) -> Self
pub fn set_enable_kubernetes_alpha<T: Into<bool>>(self, v: T) -> Self
Sets the value of enable_kubernetes_alpha.
Sourcepub fn set_label_fingerprint<T: Into<String>>(self, v: T) -> Self
pub fn set_label_fingerprint<T: Into<String>>(self, v: T) -> Self
Sets the value of label_fingerprint.
Sourcepub fn set_legacy_abac<T: Into<Option<LegacyAbac>>>(self, v: T) -> Self
pub fn set_legacy_abac<T: Into<Option<LegacyAbac>>>(self, v: T) -> Self
Sets the value of legacy_abac.
Sourcepub fn set_network_policy<T: Into<Option<NetworkPolicy>>>(self, v: T) -> Self
pub fn set_network_policy<T: Into<Option<NetworkPolicy>>>(self, v: T) -> Self
Sets the value of network_policy.
Sourcepub fn set_ip_allocation_policy<T: Into<Option<IPAllocationPolicy>>>(
self,
v: T,
) -> Self
pub fn set_ip_allocation_policy<T: Into<Option<IPAllocationPolicy>>>( self, v: T, ) -> Self
Sets the value of ip_allocation_policy.
Sets the value of master_authorized_networks_config.
Sourcepub fn set_maintenance_policy<T: Into<Option<MaintenancePolicy>>>(
self,
v: T,
) -> Self
pub fn set_maintenance_policy<T: Into<Option<MaintenancePolicy>>>( self, v: T, ) -> Self
Sets the value of maintenance_policy.
Sets the value of binary_authorization.
Sourcepub fn set_autoscaling<T: Into<Option<ClusterAutoscaling>>>(self, v: T) -> Self
pub fn set_autoscaling<T: Into<Option<ClusterAutoscaling>>>(self, v: T) -> Self
Sets the value of autoscaling.
Sourcepub fn set_network_config<T: Into<Option<NetworkConfig>>>(self, v: T) -> Self
pub fn set_network_config<T: Into<Option<NetworkConfig>>>(self, v: T) -> Self
Sets the value of network_config.
Sourcepub fn set_default_max_pods_constraint<T: Into<Option<MaxPodsConstraint>>>(
self,
v: T,
) -> Self
pub fn set_default_max_pods_constraint<T: Into<Option<MaxPodsConstraint>>>( self, v: T, ) -> Self
Sets the value of default_max_pods_constraint.
Sourcepub fn set_resource_usage_export_config<T: Into<Option<ResourceUsageExportConfig>>>(
self,
v: T,
) -> Self
pub fn set_resource_usage_export_config<T: Into<Option<ResourceUsageExportConfig>>>( self, v: T, ) -> Self
Sets the value of resource_usage_export_config.
Sourcepub fn set_authenticator_groups_config<T: Into<Option<AuthenticatorGroupsConfig>>>(
self,
v: T,
) -> Self
pub fn set_authenticator_groups_config<T: Into<Option<AuthenticatorGroupsConfig>>>( self, v: T, ) -> Self
Sets the value of authenticator_groups_config.
Sourcepub fn set_private_cluster_config<T: Into<Option<PrivateClusterConfig>>>(
self,
v: T,
) -> Self
pub fn set_private_cluster_config<T: Into<Option<PrivateClusterConfig>>>( self, v: T, ) -> Self
Sets the value of private_cluster_config.
Sourcepub fn set_database_encryption<T: Into<Option<DatabaseEncryption>>>(
self,
v: T,
) -> Self
pub fn set_database_encryption<T: Into<Option<DatabaseEncryption>>>( self, v: T, ) -> Self
Sets the value of database_encryption.
Sourcepub fn set_vertical_pod_autoscaling<T: Into<Option<VerticalPodAutoscaling>>>(
self,
v: T,
) -> Self
pub fn set_vertical_pod_autoscaling<T: Into<Option<VerticalPodAutoscaling>>>( self, v: T, ) -> Self
Sets the value of vertical_pod_autoscaling.
Sourcepub fn set_shielded_nodes<T: Into<Option<ShieldedNodes>>>(self, v: T) -> Self
pub fn set_shielded_nodes<T: Into<Option<ShieldedNodes>>>(self, v: T) -> Self
Sets the value of shielded_nodes.
Sourcepub fn set_release_channel<T: Into<Option<ReleaseChannel>>>(self, v: T) -> Self
pub fn set_release_channel<T: Into<Option<ReleaseChannel>>>(self, v: T) -> Self
Sets the value of release_channel.
Sourcepub fn set_workload_identity_config<T: Into<Option<WorkloadIdentityConfig>>>(
self,
v: T,
) -> Self
pub fn set_workload_identity_config<T: Into<Option<WorkloadIdentityConfig>>>( self, v: T, ) -> Self
Sets the value of workload_identity_config.
Sourcepub fn set_mesh_certificates<T: Into<Option<MeshCertificates>>>(
self,
v: T,
) -> Self
pub fn set_mesh_certificates<T: Into<Option<MeshCertificates>>>( self, v: T, ) -> Self
Sets the value of mesh_certificates.
Sourcepub fn set_cost_management_config<T: Into<Option<CostManagementConfig>>>(
self,
v: T,
) -> Self
pub fn set_cost_management_config<T: Into<Option<CostManagementConfig>>>( self, v: T, ) -> Self
Sets the value of cost_management_config.
Sourcepub fn set_notification_config<T: Into<Option<NotificationConfig>>>(
self,
v: T,
) -> Self
pub fn set_notification_config<T: Into<Option<NotificationConfig>>>( self, v: T, ) -> Self
Sets the value of notification_config.
Sourcepub fn set_confidential_nodes<T: Into<Option<ConfidentialNodes>>>(
self,
v: T,
) -> Self
pub fn set_confidential_nodes<T: Into<Option<ConfidentialNodes>>>( self, v: T, ) -> Self
Sets the value of confidential_nodes.
Sourcepub fn set_identity_service_config<T: Into<Option<IdentityServiceConfig>>>(
self,
v: T,
) -> Self
pub fn set_identity_service_config<T: Into<Option<IdentityServiceConfig>>>( self, v: T, ) -> Self
Sets the value of identity_service_config.
Sourcepub fn set_self_link<T: Into<String>>(self, v: T) -> Self
pub fn set_self_link<T: Into<String>>(self, v: T) -> Self
Sets the value of self_link.
Sourcepub fn set_endpoint<T: Into<String>>(self, v: T) -> Self
pub fn set_endpoint<T: Into<String>>(self, v: T) -> Self
Sets the value of endpoint.
Sourcepub fn set_initial_cluster_version<T: Into<String>>(self, v: T) -> Self
pub fn set_initial_cluster_version<T: Into<String>>(self, v: T) -> Self
Sets the value of initial_cluster_version.
Sourcepub fn set_current_master_version<T: Into<String>>(self, v: T) -> Self
pub fn set_current_master_version<T: Into<String>>(self, v: T) -> Self
Sets the value of current_master_version.
Sourcepub fn set_current_node_version<T: Into<String>>(self, v: T) -> Self
pub fn set_current_node_version<T: Into<String>>(self, v: T) -> Self
Sets the value of current_node_version.
Sourcepub fn set_create_time<T: Into<String>>(self, v: T) -> Self
pub fn set_create_time<T: Into<String>>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_status<T: Into<Status>>(self, v: T) -> Self
pub fn set_status<T: Into<Status>>(self, v: T) -> Self
Sets the value of status.
Sourcepub fn set_status_message<T: Into<String>>(self, v: T) -> Self
pub fn set_status_message<T: Into<String>>(self, v: T) -> Self
Sets the value of status_message.
Sourcepub fn set_node_ipv4_cidr_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_node_ipv4_cidr_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of node_ipv4_cidr_size.
Sourcepub fn set_services_ipv4_cidr<T: Into<String>>(self, v: T) -> Self
pub fn set_services_ipv4_cidr<T: Into<String>>(self, v: T) -> Self
Sets the value of services_ipv4_cidr.
Sourcepub fn set_current_node_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_current_node_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of current_node_count.
Sourcepub fn set_expire_time<T: Into<String>>(self, v: T) -> Self
pub fn set_expire_time<T: Into<String>>(self, v: T) -> Self
Sets the value of expire_time.
Sourcepub fn set_location<T: Into<String>>(self, v: T) -> Self
pub fn set_location<T: Into<String>>(self, v: T) -> Self
Sets the value of location.
Sourcepub fn set_enable_tpu<T: Into<bool>>(self, v: T) -> Self
pub fn set_enable_tpu<T: Into<bool>>(self, v: T) -> Self
Sets the value of enable_tpu.
Sourcepub fn set_tpu_ipv4_cidr_block<T: Into<String>>(self, v: T) -> Self
pub fn set_tpu_ipv4_cidr_block<T: Into<String>>(self, v: T) -> Self
Sets the value of tpu_ipv4_cidr_block.
Sourcepub fn set_autopilot<T: Into<Option<Autopilot>>>(self, v: T) -> Self
pub fn set_autopilot<T: Into<Option<Autopilot>>>(self, v: T) -> Self
Sets the value of autopilot.
Sourcepub fn set_node_pool_defaults<T: Into<Option<NodePoolDefaults>>>(
self,
v: T,
) -> Self
pub fn set_node_pool_defaults<T: Into<Option<NodePoolDefaults>>>( self, v: T, ) -> Self
Sets the value of node_pool_defaults.
Sourcepub fn set_logging_config<T: Into<Option<LoggingConfig>>>(self, v: T) -> Self
pub fn set_logging_config<T: Into<Option<LoggingConfig>>>(self, v: T) -> Self
Sets the value of logging_config.
Sourcepub fn set_monitoring_config<T: Into<Option<MonitoringConfig>>>(
self,
v: T,
) -> Self
pub fn set_monitoring_config<T: Into<Option<MonitoringConfig>>>( self, v: T, ) -> Self
Sets the value of monitoring_config.
Sourcepub fn set_node_pool_auto_config<T: Into<Option<NodePoolAutoConfig>>>(
self,
v: T,
) -> Self
pub fn set_node_pool_auto_config<T: Into<Option<NodePoolAutoConfig>>>( self, v: T, ) -> Self
Sets the value of node_pool_auto_config.
Sourcepub fn set_security_posture_config<T: Into<Option<SecurityPostureConfig>>>(
self,
v: T,
) -> Self
pub fn set_security_posture_config<T: Into<Option<SecurityPostureConfig>>>( self, v: T, ) -> Self
Sets the value of security_posture_config.
Sourcepub fn set_control_plane_endpoints_config<T: Into<Option<ControlPlaneEndpointsConfig>>>(
self,
v: T,
) -> Self
pub fn set_control_plane_endpoints_config<T: Into<Option<ControlPlaneEndpointsConfig>>>( self, v: T, ) -> Self
Sets the value of control_plane_endpoints_config.
Sourcepub fn set_enable_k8s_beta_apis<T: Into<Option<K8sBetaAPIConfig>>>(
self,
v: T,
) -> Self
pub fn set_enable_k8s_beta_apis<T: Into<Option<K8sBetaAPIConfig>>>( self, v: T, ) -> Self
Sets the value of enable_k8s_beta_apis.
Sourcepub fn set_enterprise_config<T: Into<Option<EnterpriseConfig>>>(
self,
v: T,
) -> Self
pub fn set_enterprise_config<T: Into<Option<EnterpriseConfig>>>( self, v: T, ) -> Self
Sets the value of enterprise_config.
Sourcepub fn set_secret_manager_config<T: Into<Option<SecretManagerConfig>>>(
self,
v: T,
) -> Self
pub fn set_secret_manager_config<T: Into<Option<SecretManagerConfig>>>( self, v: T, ) -> Self
Sets the value of secret_manager_config.
Sourcepub fn set_compliance_posture_config<T: Into<Option<CompliancePostureConfig>>>(
self,
v: T,
) -> Self
pub fn set_compliance_posture_config<T: Into<Option<CompliancePostureConfig>>>( self, v: T, ) -> Self
Sets the value of compliance_posture_config.
Sourcepub fn set_satisfies_pzs<T: Into<Option<bool>>>(self, v: T) -> Self
pub fn set_satisfies_pzs<T: Into<Option<bool>>>(self, v: T) -> Self
Sets the value of satisfies_pzs.
Sourcepub fn set_satisfies_pzi<T: Into<Option<bool>>>(self, v: T) -> Self
pub fn set_satisfies_pzi<T: Into<Option<bool>>>(self, v: T) -> Self
Sets the value of satisfies_pzi.
Sourcepub fn set_user_managed_keys_config<T: Into<Option<UserManagedKeysConfig>>>(
self,
v: T,
) -> Self
pub fn set_user_managed_keys_config<T: Into<Option<UserManagedKeysConfig>>>( self, v: T, ) -> Self
Sets the value of user_managed_keys_config.
Sourcepub fn set_rbac_binding_config<T: Into<Option<RBACBindingConfig>>>(
self,
v: T,
) -> Self
pub fn set_rbac_binding_config<T: Into<Option<RBACBindingConfig>>>( self, v: T, ) -> Self
Sets the value of rbac_binding_config.
Sourcepub fn set_node_pools<T, V>(self, v: T) -> Self
pub fn set_node_pools<T, V>(self, v: T) -> Self
Sets the value of node_pools.
Sourcepub fn set_locations<T, V>(self, v: T) -> Self
pub fn set_locations<T, V>(self, v: T) -> Self
Sets the value of locations.
Sourcepub fn set_instance_group_urls<T, V>(self, v: T) -> Self
pub fn set_instance_group_urls<T, V>(self, v: T) -> Self
Sets the value of instance_group_urls.
Sourcepub fn set_conditions<T, V>(self, v: T) -> Self
pub fn set_conditions<T, V>(self, v: T) -> Self
Sets the value of conditions.
Sourcepub fn set_resource_labels<T, K, V>(self, v: T) -> Self
pub fn set_resource_labels<T, K, V>(self, v: T) -> Self
Sets the value of resource_labels.