dataproc.v1beta1.dataprocCluster
Index
fn new(name)
obj metadata
fn withAnnotations(annotations)
fn withAnnotationsMixin(annotations)
fn withClusterName(clusterName)
fn withCreationTimestamp(creationTimestamp)
fn withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
fn withDeletionTimestamp(deletionTimestamp)
fn withFinalizers(finalizers)
fn withFinalizersMixin(finalizers)
fn withGenerateName(generateName)
fn withGeneration(generation)
fn withLabels(labels)
fn withLabelsMixin(labels)
fn withName(name)
fn withNamespace(namespace)
fn withOwnerReferences(ownerReferences)
fn withOwnerReferencesMixin(ownerReferences)
fn withResourceVersion(resourceVersion)
fn withSelfLink(selfLink)
fn withUid(uid)
obj spec
fn withLocation(location)
fn withResourceID(resourceID)
obj spec.config
fn withInitializationActions(initializationActions)
fn withInitializationActionsMixin(initializationActions)
obj spec.config.autoscalingConfig
obj spec.config.encryptionConfig
obj spec.config.endpointConfig
obj spec.config.gceClusterConfig
fn withInternalIPOnly(internalIPOnly)
fn withMetadata(metadata)
fn withMetadataMixin(metadata)
fn withPrivateIPv6GoogleAccess(privateIPv6GoogleAccess)
fn withServiceAccountScopes(serviceAccountScopes)
fn withServiceAccountScopesMixin(serviceAccountScopes)
fn withTags(tags)
fn withTagsMixin(tags)
fn withZone(zone)
obj spec.config.gceClusterConfig.networkRef
obj spec.config.gceClusterConfig.nodeGroupAffinity
obj spec.config.gceClusterConfig.reservationAffinity
obj spec.config.gceClusterConfig.serviceAccountRef
obj spec.config.gceClusterConfig.subnetworkRef
obj spec.config.initializationActions
obj spec.config.lifecycleConfig
obj spec.config.masterConfig
fn withAccelerators(accelerators)
fn withAcceleratorsMixin(accelerators)
fn withMachineType(machineType)
fn withMinCpuPlatform(minCpuPlatform)
fn withNumInstances(numInstances)
fn withPreemptibility(preemptibility)
obj spec.config.masterConfig.accelerators
obj spec.config.masterConfig.diskConfig
obj spec.config.masterConfig.imageRef
obj spec.config.secondaryWorkerConfig
fn withAccelerators(accelerators)
fn withAcceleratorsMixin(accelerators)
fn withMachineType(machineType)
fn withMinCpuPlatform(minCpuPlatform)
fn withNumInstances(numInstances)
fn withPreemptibility(preemptibility)
obj spec.config.secondaryWorkerConfig.accelerators
obj spec.config.secondaryWorkerConfig.diskConfig
obj spec.config.secondaryWorkerConfig.imageRef
obj spec.config.securityConfig
obj spec.config.securityConfig.kerberosConfig
fn withCrossRealmTrustAdminServer(crossRealmTrustAdminServer)
fn withCrossRealmTrustKdc(crossRealmTrustKdc)
fn withCrossRealmTrustRealm(crossRealmTrustRealm)
fn withCrossRealmTrustSharedPassword(crossRealmTrustSharedPassword)
fn withEnableKerberos(enableKerberos)
fn withKdcDbKey(kdcDbKey)
fn withKeyPassword(keyPassword)
fn withKeystore(keystore)
fn withKeystorePassword(keystorePassword)
fn withRealm(realm)
fn withRootPrincipalPassword(rootPrincipalPassword)
fn withTgtLifetimeHours(tgtLifetimeHours)
fn withTruststore(truststore)
fn withTruststorePassword(truststorePassword)
obj spec.config.securityConfig.kerberosConfig.kmsKeyRef
obj spec.config.softwareConfig
obj spec.config.stagingBucketRef
obj spec.config.tempBucketRef
obj spec.config.workerConfig
fn withAccelerators(accelerators)
fn withAcceleratorsMixin(accelerators)
fn withMachineType(machineType)
fn withMinCpuPlatform(minCpuPlatform)
fn withNumInstances(numInstances)
fn withPreemptibility(preemptibility)
obj spec.config.workerConfig.accelerators
obj spec.config.workerConfig.diskConfig
obj spec.config.workerConfig.imageRef
obj spec.projectRef
Fields
fn new
new(name)
new returns an instance of DataprocCluster
obj metadata
"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."
fn metadata.withAnnotations
withAnnotations(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
fn metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
Note: This function appends passed data to existing values
fn metadata.withClusterName
withClusterName(clusterName)
"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."
fn metadata.withCreationTimestamp
withCreationTimestamp(creationTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withDeletionGracePeriodSeconds
withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."
fn metadata.withDeletionTimestamp
withDeletionTimestamp(deletionTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withFinalizers
withFinalizers(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
fn metadata.withFinalizersMixin
withFinalizersMixin(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
Note: This function appends passed data to existing values
fn metadata.withGenerateName
withGenerateName(generateName)
"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"
fn metadata.withGeneration
withGeneration(generation)
"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."
fn metadata.withLabels
withLabels(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
fn metadata.withLabelsMixin
withLabelsMixin(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
Note: This function appends passed data to existing values
fn metadata.withName
withName(name)
"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"
fn metadata.withNamespace
withNamespace(namespace)
"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"
fn metadata.withOwnerReferences
withOwnerReferences(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
fn metadata.withOwnerReferencesMixin
withOwnerReferencesMixin(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
Note: This function appends passed data to existing values
fn metadata.withResourceVersion
withResourceVersion(resourceVersion)
"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
fn metadata.withSelfLink
withSelfLink(selfLink)
"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."
fn metadata.withUid
withUid(uid)
"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"
obj spec
fn spec.withLocation
withLocation(location)
"Immutable. The location for the resource, usually a GCP region."
fn spec.withResourceID
withResourceID(resourceID)
"Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of metadata.name
is used as the default."
obj spec.config
"Immutable. Required. The cluster config. Note that Dataproc may set default values, and values may change when clusters are updated."
fn spec.config.withInitializationActions
withInitializationActions(initializationActions)
"Immutable. Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role
metadata to run an executable on a master or worker node, as shown below using curl
(you can also use wget
): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ \"${ROLE}\" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi"
fn spec.config.withInitializationActionsMixin
withInitializationActionsMixin(initializationActions)
"Immutable. Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role
metadata to run an executable on a master or worker node, as shown below using curl
(you can also use wget
): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ \"${ROLE}\" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi"
Note: This function appends passed data to existing values
obj spec.config.autoscalingConfig
"Immutable. Optional. Autoscaling config for the policy associated with the cluster. Cluster does not autoscale if this field is unset."
obj spec.config.autoscalingConfig.policyRef
"Immutable."
fn spec.config.autoscalingConfig.policyRef.withExternal
withExternal(external)
"Optional. The autoscaling policy used by the cluster. Only resource names including projectid and location (region) are valid. Examples: * https://www.googleapis.com/compute/v1/projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]
* projects/[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id]
Note that the policy must be in the same project and Dataproc region.\n\nAllowed value: The Google Cloud resource name of a DataprocAutoscalingPolicy
resource (format: projects/{{project}}/locations/{{location}}/autoscalingPolicies/{{name}}
)."
fn spec.config.autoscalingConfig.policyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.config.autoscalingConfig.policyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.config.encryptionConfig
"Immutable. Optional. Encryption settings for the cluster."
obj spec.config.encryptionConfig.gcePdKmsKeyRef
"Immutable."
fn spec.config.encryptionConfig.gcePdKmsKeyRef.withExternal
withExternal(external)
"Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster.\n\nAllowed value: The selfLink
field of a KMSCryptoKey
resource."
fn spec.config.encryptionConfig.gcePdKmsKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.config.encryptionConfig.gcePdKmsKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.config.endpointConfig
"Immutable. Optional. Port/endpoint configuration for this cluster"
fn spec.config.endpointConfig.withEnableHttpPortAccess
withEnableHttpPortAccess(enableHttpPortAccess)
"Immutable. Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false."
obj spec.config.gceClusterConfig
"Immutable. Optional. The shared Compute Engine config settings for all instances in a cluster."
fn spec.config.gceClusterConfig.withInternalIPOnly
withInternalIPOnly(internalIPOnly)
"Immutable. Optional. If true, all instances in the cluster will only have internal IP addresses. By default, clusters are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each instance. This internal_ip_only
restriction can only be enabled for subnetwork enabled networks, and all off-cluster dependencies must be configured to be accessible without external IP addresses."
fn spec.config.gceClusterConfig.withMetadata
withMetadata(metadata)
"Immutable. The Compute Engine metadata entries to add to all instances (see Project and instance metadata)."
fn spec.config.gceClusterConfig.withMetadataMixin
withMetadataMixin(metadata)
"Immutable. The Compute Engine metadata entries to add to all instances (see Project and instance metadata)."
Note: This function appends passed data to existing values
fn spec.config.gceClusterConfig.withPrivateIPv6GoogleAccess
withPrivateIPv6GoogleAccess(privateIPv6GoogleAccess)
"Immutable. Optional. The type of IPv6 access for a cluster. Possible values: PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED, INHERIT_FROM_SUBNETWORK, OUTBOUND, BIDIRECTIONAL"
fn spec.config.gceClusterConfig.withServiceAccountScopes
withServiceAccountScopes(serviceAccountScopes)
"Immutable. Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control"
fn spec.config.gceClusterConfig.withServiceAccountScopesMixin
withServiceAccountScopesMixin(serviceAccountScopes)
"Immutable. Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included: * https://www.googleapis.com/auth/cloud.useraccounts.readonly * https://www.googleapis.com/auth/devstorage.read_write * https://www.googleapis.com/auth/logging.write If no scopes are specified, the following defaults are also provided: * https://www.googleapis.com/auth/bigquery * https://www.googleapis.com/auth/bigtable.admin.table * https://www.googleapis.com/auth/bigtable.data * https://www.googleapis.com/auth/devstorage.full_control"
Note: This function appends passed data to existing values
fn spec.config.gceClusterConfig.withTags
withTags(tags)
"Immutable. The Compute Engine tags to add to all instances (see Tagging instances)."
fn spec.config.gceClusterConfig.withTagsMixin
withTagsMixin(tags)
"Immutable. The Compute Engine tags to add to all instances (see Tagging instances)."
Note: This function appends passed data to existing values
fn spec.config.gceClusterConfig.withZone
withZone(zone)
"Immutable. Optional. The zone where the Compute Engine cluster will be located. On a create request, it is required in the \"global\" region. If omitted in a non-global Dataproc region, the service will pick a zone in the corresponding Compute Engine region. On a get request, zone will always be present. A full URL, partial URI, or short name are valid. Examples: * https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]
* projects/[project_id]/zones/[zone]
* us-central1-f
"
obj spec.config.gceClusterConfig.networkRef
"Immutable."
fn spec.config.gceClusterConfig.networkRef.withExternal
withExternal(external)
"Optional. The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork_uri. If neither network_uri
nor subnetwork_uri
is specified, the \"default\" network of the project is used, if it exists. Cannot be a \"Custom Subnet Network\" (see Using Subnetworks for more information). A full URL, partial URI, or short name are valid. Examples: * https://www.googleapis.com/compute/v1/projects/[project_id]/regions/global/default
* projects/[project_id]/regions/global/default
* default
\n\nAllowed value: The selfLink
field of a ComputeNetwork
resource."
fn spec.config.gceClusterConfig.networkRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.config.gceClusterConfig.networkRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.config.gceClusterConfig.nodeGroupAffinity
"Immutable. Optional. Node Group Affinity for sole-tenant clusters."
obj spec.config.gceClusterConfig.nodeGroupAffinity.nodeGroupRef
"Immutable."
fn spec.config.gceClusterConfig.nodeGroupAffinity.nodeGroupRef.withExternal
withExternal(external)
"Required. The URI of a sole-tenant node group resource that the cluster will be created on. A full URL, partial URI, or node group name are valid. Examples: * https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1
* projects/[project_id]/zones/us-central1-a/nodeGroups/node-group-1
* node-group-1
\n\nAllowed value: The selfLink
field of a ComputeNodeGroup
resource."
fn spec.config.gceClusterConfig.nodeGroupAffinity.nodeGroupRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.config.gceClusterConfig.nodeGroupAffinity.nodeGroupRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.config.gceClusterConfig.reservationAffinity
"Immutable. Optional. Reservation Affinity for consuming Zonal reservation."
fn spec.config.gceClusterConfig.reservationAffinity.withConsumeReservationType
withConsumeReservationType(consumeReservationType)
"Immutable. Optional. Type of reservation to consume Possible values: TYPE_UNSPECIFIED, NO_RESERVATION, ANY_RESERVATION, SPECIFIC_RESERVATION"
fn spec.config.gceClusterConfig.reservationAffinity.withKey
withKey(key)
"Immutable. Optional. Corresponds to the label key of reservation resource."
fn spec.config.gceClusterConfig.reservationAffinity.withValues
withValues(values)
"Immutable. Optional. Corresponds to the label values of reservation resource."
fn spec.config.gceClusterConfig.reservationAffinity.withValuesMixin
withValuesMixin(values)
"Immutable. Optional. Corresponds to the label values of reservation resource."
Note: This function appends passed data to existing values
obj spec.config.gceClusterConfig.serviceAccountRef
"Immutable."
fn spec.config.gceClusterConfig.serviceAccountRef.withExternal
withExternal(external)
"Optional. The Dataproc service account (also see VM Data Plane identity) used by Dataproc cluster VM instances to access Google Cloud Platform services. If not specified, the Compute Engine default service account is used.\n\nAllowed value: The email
field of an IAMServiceAccount
resource."
fn spec.config.gceClusterConfig.serviceAccountRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.config.gceClusterConfig.serviceAccountRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.config.gceClusterConfig.subnetworkRef
"Immutable."
fn spec.config.gceClusterConfig.subnetworkRef.withExternal
withExternal(external)
"Optional. The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network_uri. A full URL, partial URI, or short name are valid. Examples: * https://www.googleapis.com/compute/v1/projects/[project_id]/regions/us-east1/subnetworks/sub0
* projects/[project_id]/regions/us-east1/subnetworks/sub0
* sub0
\n\nAllowed value: The selfLink
field of a ComputeSubnetwork
resource."
fn spec.config.gceClusterConfig.subnetworkRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.config.gceClusterConfig.subnetworkRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.config.initializationActions
"Immutable. Optional. Commands to execute on each node after config is completed. By default, executables are run on master and all worker nodes. You can test a node's role
metadata to run an executable on a master or worker node, as shown below using curl
(you can also use wget
): ROLE=$(curl -H Metadata-Flavor:Google http://metadata/computeMetadata/v1/instance/attributes/dataproc-role) if [[ \"${ROLE}\" == 'Master' ]]; then ... master specific actions ... else ... worker specific actions ... fi"
fn spec.config.initializationActions.withExecutableFile
withExecutableFile(executableFile)
"Immutable. Required. Cloud Storage URI of executable file."
fn spec.config.initializationActions.withExecutionTimeout
withExecutionTimeout(executionTimeout)
"Immutable. Optional. Amount of time executable has to complete. Default is 10 minutes (see JSON representation of Duration). Cluster creation fails with an explanatory error message (the name of the executable that caused the error and the exceeded timeout period) if the executable is not completed at end of the timeout period."
obj spec.config.lifecycleConfig
"Immutable. Optional. Lifecycle setting for the cluster."
fn spec.config.lifecycleConfig.withAutoDeleteTime
withAutoDeleteTime(autoDeleteTime)
"Immutable. Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp)."
fn spec.config.lifecycleConfig.withAutoDeleteTtl
withAutoDeleteTtl(autoDeleteTtl)
"Immutable. Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration)."
fn spec.config.lifecycleConfig.withIdleDeleteTtl
withIdleDeleteTtl(idleDeleteTtl)
"Immutable. Optional. The duration to keep the cluster alive while idling (when no jobs are running). Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration)."
obj spec.config.masterConfig
"Immutable. Optional. The Compute Engine config settings for the master instance in a cluster."
fn spec.config.masterConfig.withAccelerators
withAccelerators(accelerators)
"Immutable. Optional. The Compute Engine accelerator configuration for these instances."
fn spec.config.masterConfig.withAcceleratorsMixin
withAcceleratorsMixin(accelerators)
"Immutable. Optional. The Compute Engine accelerator configuration for these instances."
Note: This function appends passed data to existing values
fn spec.config.masterConfig.withMachineType
withMachineType(machineType)
"Immutable. Optional. The Compute Engine machine type used for cluster instances. A full URL, partial URI, or short name are valid. Examples: * https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
* projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
* n1-standard-2
Auto Zone Exception: If you are using the Dataproc Auto Zone Placement feature, you must use the short name of the machine type resource, for example, n1-standard-2
."
fn spec.config.masterConfig.withMinCpuPlatform
withMinCpuPlatform(minCpuPlatform)
"Immutable. Optional. Specifies the minimum cpu platform for the Instance Group. See Dataproc -> Minimum CPU Platform."
fn spec.config.masterConfig.withNumInstances
withNumInstances(numInstances)
"Immutable. Optional. The number of VM instances in the instance group. For HA cluster master_config groups, must be set to 3. For standard cluster master_config groups, must be set to 1."
fn spec.config.masterConfig.withPreemptibility
withPreemptibility(preemptibility)
"Immutable. Optional. Specifies the preemptibility of the instance group. The default value for master and worker groups is NON_PREEMPTIBLE
. This default cannot be changed. The default value for secondary instances is PREEMPTIBLE
. Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE, PREEMPTIBLE"
obj spec.config.masterConfig.accelerators
"Immutable. Optional. The Compute Engine accelerator configuration for these instances."
fn spec.config.masterConfig.accelerators.withAcceleratorCount
withAcceleratorCount(acceleratorCount)
"Immutable. The number of the accelerator cards of this type exposed to this instance."
fn spec.config.masterConfig.accelerators.withAcceleratorType
withAcceleratorType(acceleratorType)
"Immutable. Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes. Examples: * https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80
* projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80
* nvidia-tesla-k80
Auto Zone Exception: If you are using the Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80
."
obj spec.config.masterConfig.diskConfig
"Immutable. Optional. Disk option config settings."
fn spec.config.masterConfig.diskConfig.withBootDiskSizeGb
withBootDiskSizeGb(bootDiskSizeGb)
"Immutable. Optional. Size in GB of the boot disk (default is 500GB)."
fn spec.config.masterConfig.diskConfig.withBootDiskType
withBootDiskType(bootDiskType)
"Immutable. Optional. Type of the boot disk (default is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive), or \"pd-standard\" (Persistent Disk Hard Disk Drive). See Disk types."
fn spec.config.masterConfig.diskConfig.withNumLocalSsds
withNumLocalSsds(numLocalSsds)
"Immutable. Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries."
obj spec.config.masterConfig.imageRef
"Immutable."
fn spec.config.masterConfig.imageRef.withExternal
withExternal(external)
"Optional. The Compute Engine image resource used for cluster instances. The URI can represent an image or image family. Image examples: * https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]
* projects/[project_id]/global/images/[image-id]
* image-id
Image family examples. Dataproc will use the most recent image from the family: * https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]
* projects/[project_id]/global/images/family/[custom-image-family-name]
If the URI is unspecified, it will be inferred from SoftwareConfig.image_version
or the system default.\n\nAllowed value: The selfLink
field of a ComputeImage
resource."
fn spec.config.masterConfig.imageRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.config.masterConfig.imageRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.config.secondaryWorkerConfig
"Immutable. Optional. The Compute Engine config settings for additional worker instances in a cluster."
fn spec.config.secondaryWorkerConfig.withAccelerators
withAccelerators(accelerators)
"Immutable. Optional. The Compute Engine accelerator configuration for these instances."
fn spec.config.secondaryWorkerConfig.withAcceleratorsMixin
withAcceleratorsMixin(accelerators)
"Immutable. Optional. The Compute Engine accelerator configuration for these instances."
Note: This function appends passed data to existing values
fn spec.config.secondaryWorkerConfig.withMachineType
withMachineType(machineType)
"Immutable. Optional. The Compute Engine machine type used for cluster instances. A full URL, partial URI, or short name are valid. Examples: * https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
* projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
* n1-standard-2
Auto Zone Exception: If you are using the Dataproc Auto Zone Placement feature, you must use the short name of the machine type resource, for example, n1-standard-2
."
fn spec.config.secondaryWorkerConfig.withMinCpuPlatform
withMinCpuPlatform(minCpuPlatform)
"Immutable. Optional. Specifies the minimum cpu platform for the Instance Group. See Dataproc -> Minimum CPU Platform."
fn spec.config.secondaryWorkerConfig.withNumInstances
withNumInstances(numInstances)
"Immutable. Optional. The number of VM instances in the instance group. For HA cluster master_config groups, must be set to 3. For standard cluster master_config groups, must be set to 1."
fn spec.config.secondaryWorkerConfig.withPreemptibility
withPreemptibility(preemptibility)
"Immutable. Optional. Specifies the preemptibility of the instance group. The default value for master and worker groups is NON_PREEMPTIBLE
. This default cannot be changed. The default value for secondary instances is PREEMPTIBLE
. Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE, PREEMPTIBLE"
obj spec.config.secondaryWorkerConfig.accelerators
"Immutable. Optional. The Compute Engine accelerator configuration for these instances."
fn spec.config.secondaryWorkerConfig.accelerators.withAcceleratorCount
withAcceleratorCount(acceleratorCount)
"Immutable. The number of the accelerator cards of this type exposed to this instance."
fn spec.config.secondaryWorkerConfig.accelerators.withAcceleratorType
withAcceleratorType(acceleratorType)
"Immutable. Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes. Examples: * https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80
* projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80
* nvidia-tesla-k80
Auto Zone Exception: If you are using the Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80
."
obj spec.config.secondaryWorkerConfig.diskConfig
"Immutable. Optional. Disk option config settings."
fn spec.config.secondaryWorkerConfig.diskConfig.withBootDiskSizeGb
withBootDiskSizeGb(bootDiskSizeGb)
"Immutable. Optional. Size in GB of the boot disk (default is 500GB)."
fn spec.config.secondaryWorkerConfig.diskConfig.withBootDiskType
withBootDiskType(bootDiskType)
"Immutable. Optional. Type of the boot disk (default is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive), or \"pd-standard\" (Persistent Disk Hard Disk Drive). See Disk types."
fn spec.config.secondaryWorkerConfig.diskConfig.withNumLocalSsds
withNumLocalSsds(numLocalSsds)
"Immutable. Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries."
obj spec.config.secondaryWorkerConfig.imageRef
"Immutable."
fn spec.config.secondaryWorkerConfig.imageRef.withExternal
withExternal(external)
"Optional. The Compute Engine image resource used for cluster instances. The URI can represent an image or image family. Image examples: * https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]
* projects/[project_id]/global/images/[image-id]
* image-id
Image family examples. Dataproc will use the most recent image from the family: * https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]
* projects/[project_id]/global/images/family/[custom-image-family-name]
If the URI is unspecified, it will be inferred from SoftwareConfig.image_version
or the system default.\n\nAllowed value: The selfLink
field of a ComputeImage
resource."
fn spec.config.secondaryWorkerConfig.imageRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.config.secondaryWorkerConfig.imageRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.config.securityConfig
"Immutable. Optional. Security settings for the cluster."
obj spec.config.securityConfig.kerberosConfig
"Immutable. Optional. Kerberos related configuration."
fn spec.config.securityConfig.kerberosConfig.withCrossRealmTrustAdminServer
withCrossRealmTrustAdminServer(crossRealmTrustAdminServer)
"Immutable. Optional. The admin server (IP or hostname) for the remote trusted realm in a cross realm trust relationship."
fn spec.config.securityConfig.kerberosConfig.withCrossRealmTrustKdc
withCrossRealmTrustKdc(crossRealmTrustKdc)
"Immutable. Optional. The KDC (IP or hostname) for the remote trusted realm in a cross realm trust relationship."
fn spec.config.securityConfig.kerberosConfig.withCrossRealmTrustRealm
withCrossRealmTrustRealm(crossRealmTrustRealm)
"Immutable. Optional. The remote realm the Dataproc on-cluster KDC will trust, should the user enable cross realm trust."
fn spec.config.securityConfig.kerberosConfig.withCrossRealmTrustSharedPassword
withCrossRealmTrustSharedPassword(crossRealmTrustSharedPassword)
"Immutable. Optional. The Cloud Storage URI of a KMS encrypted file containing the shared password between the on-cluster Kerberos realm and the remote trusted realm, in a cross realm trust relationship."
fn spec.config.securityConfig.kerberosConfig.withEnableKerberos
withEnableKerberos(enableKerberos)
"Immutable. Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set this field to true to enable Kerberos on a cluster."
fn spec.config.securityConfig.kerberosConfig.withKdcDbKey
withKdcDbKey(kdcDbKey)
"Immutable. Optional. The Cloud Storage URI of a KMS encrypted file containing the master key of the KDC database."
fn spec.config.securityConfig.kerberosConfig.withKeyPassword
withKeyPassword(keyPassword)
"Immutable. Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided key. For the self-signed certificate, this password is generated by Dataproc."
fn spec.config.securityConfig.kerberosConfig.withKeystore
withKeystore(keystore)
"Immutable. Optional. The Cloud Storage URI of the keystore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate."
fn spec.config.securityConfig.kerberosConfig.withKeystorePassword
withKeystorePassword(keystorePassword)
"Immutable. Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided keystore. For the self-signed certificate, this password is generated by Dataproc."
fn spec.config.securityConfig.kerberosConfig.withRealm
withRealm(realm)
"Immutable. Optional. The name of the on-cluster Kerberos realm. If not specified, the uppercased domain of hostnames will be the realm."
fn spec.config.securityConfig.kerberosConfig.withRootPrincipalPassword
withRootPrincipalPassword(rootPrincipalPassword)
"Immutable. Optional. The Cloud Storage URI of a KMS encrypted file containing the root principal password."
fn spec.config.securityConfig.kerberosConfig.withTgtLifetimeHours
withTgtLifetimeHours(tgtLifetimeHours)
"Immutable. Optional. The lifetime of the ticket granting ticket, in hours. If not specified, or user specifies 0, then default value 10 will be used."
fn spec.config.securityConfig.kerberosConfig.withTruststore
withTruststore(truststore)
"Immutable. Optional. The Cloud Storage URI of the truststore file used for SSL encryption. If not provided, Dataproc will provide a self-signed certificate."
fn spec.config.securityConfig.kerberosConfig.withTruststorePassword
withTruststorePassword(truststorePassword)
"Immutable. Optional. The Cloud Storage URI of a KMS encrypted file containing the password to the user provided truststore. For the self-signed certificate, this password is generated by Dataproc."
obj spec.config.securityConfig.kerberosConfig.kmsKeyRef
"Immutable."
fn spec.config.securityConfig.kerberosConfig.kmsKeyRef.withExternal
withExternal(external)
"Optional. The uri of the KMS key used to encrypt various sensitive files.\n\nAllowed value: The selfLink
field of a KMSCryptoKey
resource."
fn spec.config.securityConfig.kerberosConfig.kmsKeyRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.config.securityConfig.kerberosConfig.kmsKeyRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.config.softwareConfig
"Immutable. Optional. The config settings for software inside the cluster."
fn spec.config.softwareConfig.withImageVersion
withImageVersion(imageVersion)
"Immutable. Optional. The version of software inside the cluster. It must be one of the supported Dataproc Versions, such as \"1.2\" (including a subminor version, such as \"1.2.29\"), or the \"preview\" version. If unspecified, it defaults to the latest Debian version."
fn spec.config.softwareConfig.withOptionalComponents
withOptionalComponents(optionalComponents)
"Immutable. Optional. The set of components to activate on the cluster."
fn spec.config.softwareConfig.withOptionalComponentsMixin
withOptionalComponentsMixin(optionalComponents)
"Immutable. Optional. The set of components to activate on the cluster."
Note: This function appends passed data to existing values
fn spec.config.softwareConfig.withProperties
withProperties(properties)
"Immutable. Optional. The properties to set on daemon config files. Property keys are specified in prefix:property
format, for example core:hadoop.tmp.dir
. The following are supported prefixes and their mappings: * capacity-scheduler: capacity-scheduler.xml
* core: core-site.xml
* distcp: distcp-default.xml
* hdfs: hdfs-site.xml
* hive: hive-site.xml
* mapred: mapred-site.xml
* pig: pig.properties
* spark: spark-defaults.conf
* yarn: yarn-site.xml
For more information, see Cluster properties."
fn spec.config.softwareConfig.withPropertiesMixin
withPropertiesMixin(properties)
"Immutable. Optional. The properties to set on daemon config files. Property keys are specified in prefix:property
format, for example core:hadoop.tmp.dir
. The following are supported prefixes and their mappings: * capacity-scheduler: capacity-scheduler.xml
* core: core-site.xml
* distcp: distcp-default.xml
* hdfs: hdfs-site.xml
* hive: hive-site.xml
* mapred: mapred-site.xml
* pig: pig.properties
* spark: spark-defaults.conf
* yarn: yarn-site.xml
For more information, see Cluster properties."
Note: This function appends passed data to existing values
obj spec.config.stagingBucketRef
"Immutable."
fn spec.config.stagingBucketRef.withExternal
withExternal(external)
"Optional. A Cloud Storage bucket used to stage job dependencies, config files, and job driver console output. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket (see Dataproc staging bucket). This field requires a Cloud Storage bucket name, not a URI to a Cloud Storage bucket.\n\nAllowed value: The Google Cloud resource name of a StorageBucket
resource (format: {{name}}
)."
fn spec.config.stagingBucketRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.config.stagingBucketRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.config.tempBucketRef
"Immutable."
fn spec.config.tempBucketRef.withExternal
withExternal(external)
"Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, such as Spark and MapReduce history files. If you do not specify a temp bucket, Dataproc will determine a Cloud Storage location (US, ASIA, or EU) for your cluster's temp bucket according to the Compute Engine zone where your cluster is deployed, and then create and manage this project-level, per-location bucket. The default bucket has a TTL of 90 days, but you can use any TTL (or none) if you specify a bucket. This field requires a Cloud Storage bucket name, not a URI to a Cloud Storage bucket.\n\nAllowed value: The Google Cloud resource name of a StorageBucket
resource (format: {{name}}
)."
fn spec.config.tempBucketRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.config.tempBucketRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.config.workerConfig
"Immutable. Optional. The Compute Engine config settings for worker instances in a cluster."
fn spec.config.workerConfig.withAccelerators
withAccelerators(accelerators)
"Immutable. Optional. The Compute Engine accelerator configuration for these instances."
fn spec.config.workerConfig.withAcceleratorsMixin
withAcceleratorsMixin(accelerators)
"Immutable. Optional. The Compute Engine accelerator configuration for these instances."
Note: This function appends passed data to existing values
fn spec.config.workerConfig.withMachineType
withMachineType(machineType)
"Immutable. Optional. The Compute Engine machine type used for cluster instances. A full URL, partial URI, or short name are valid. Examples: * https://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
* projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2
* n1-standard-2
Auto Zone Exception: If you are using the Dataproc Auto Zone Placement feature, you must use the short name of the machine type resource, for example, n1-standard-2
."
fn spec.config.workerConfig.withMinCpuPlatform
withMinCpuPlatform(minCpuPlatform)
"Immutable. Optional. Specifies the minimum cpu platform for the Instance Group. See Dataproc -> Minimum CPU Platform."
fn spec.config.workerConfig.withNumInstances
withNumInstances(numInstances)
"Immutable. Optional. The number of VM instances in the instance group. For HA cluster master_config groups, must be set to 3. For standard cluster master_config groups, must be set to 1."
fn spec.config.workerConfig.withPreemptibility
withPreemptibility(preemptibility)
"Immutable. Optional. Specifies the preemptibility of the instance group. The default value for master and worker groups is NON_PREEMPTIBLE
. This default cannot be changed. The default value for secondary instances is PREEMPTIBLE
. Possible values: PREEMPTIBILITY_UNSPECIFIED, NON_PREEMPTIBLE, PREEMPTIBLE"
obj spec.config.workerConfig.accelerators
"Immutable. Optional. The Compute Engine accelerator configuration for these instances."
fn spec.config.workerConfig.accelerators.withAcceleratorCount
withAcceleratorCount(acceleratorCount)
"Immutable. The number of the accelerator cards of this type exposed to this instance."
fn spec.config.workerConfig.accelerators.withAcceleratorType
withAcceleratorType(acceleratorType)
"Immutable. Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes. Examples: * https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80
* projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80
* nvidia-tesla-k80
Auto Zone Exception: If you are using the Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80
."
obj spec.config.workerConfig.diskConfig
"Immutable. Optional. Disk option config settings."
fn spec.config.workerConfig.diskConfig.withBootDiskSizeGb
withBootDiskSizeGb(bootDiskSizeGb)
"Immutable. Optional. Size in GB of the boot disk (default is 500GB)."
fn spec.config.workerConfig.diskConfig.withBootDiskType
withBootDiskType(bootDiskType)
"Immutable. Optional. Type of the boot disk (default is \"pd-standard\"). Valid values: \"pd-balanced\" (Persistent Disk Balanced Solid State Drive), \"pd-ssd\" (Persistent Disk Solid State Drive), or \"pd-standard\" (Persistent Disk Hard Disk Drive). See Disk types."
fn spec.config.workerConfig.diskConfig.withNumLocalSsds
withNumLocalSsds(numLocalSsds)
"Immutable. Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs are not attached, the boot disk is used to store runtime logs and HDFS data. If one or more SSDs are attached, this runtime bulk data is spread across them, and the boot disk contains only basic config and installed binaries."
obj spec.config.workerConfig.imageRef
"Immutable."
fn spec.config.workerConfig.imageRef.withExternal
withExternal(external)
"Optional. The Compute Engine image resource used for cluster instances. The URI can represent an image or image family. Image examples: * https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/[image-id]
* projects/[project_id]/global/images/[image-id]
* image-id
Image family examples. Dataproc will use the most recent image from the family: * https://www.googleapis.com/compute/beta/projects/[project_id]/global/images/family/[custom-image-family-name]
* projects/[project_id]/global/images/family/[custom-image-family-name]
If the URI is unspecified, it will be inferred from SoftwareConfig.image_version
or the system default.\n\nAllowed value: The selfLink
field of a ComputeImage
resource."
fn spec.config.workerConfig.imageRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.config.workerConfig.imageRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.projectRef
"Immutable. The Project that this resource belongs to."
fn spec.projectRef.withExternal
withExternal(external)
"Required. The Google Cloud Platform project ID that the cluster belongs to.\n\nAllowed value: The Google Cloud resource name of a Project
resource (format: projects/{{name}}
)."
fn spec.projectRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.projectRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"