Interface AutoprovisioningNodePoolDefaultsOrBuilder (2.8.0)

public interface AutoprovisioningNodePoolDefaultsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBootDiskKmsKey()

public abstract String getBootDiskKmsKey()

The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption

string boot_disk_kms_key = 9;

Returns
TypeDescription
String

The bootDiskKmsKey.

getBootDiskKmsKeyBytes()

public abstract ByteString getBootDiskKmsKeyBytes()

The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption

string boot_disk_kms_key = 9;

Returns
TypeDescription
ByteString

The bytes for bootDiskKmsKey.

getDiskSizeGb()

public abstract int getDiskSizeGb()

Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.

int32 disk_size_gb = 6;

Returns
TypeDescription
int

The diskSizeGb.

getDiskType()

public abstract String getDiskType()

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'

string disk_type = 7;

Returns
TypeDescription
String

The diskType.

getDiskTypeBytes()

public abstract ByteString getDiskTypeBytes()

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'

string disk_type = 7;

Returns
TypeDescription
ByteString

The bytes for diskType.

getImageType()

public abstract String getImageType()

The image type to use for NAP created node.

string image_type = 10;

Returns
TypeDescription
String

The imageType.

getImageTypeBytes()

public abstract ByteString getImageTypeBytes()

The image type to use for NAP created node.

string image_type = 10;

Returns
TypeDescription
ByteString

The bytes for imageType.

getManagement()

public abstract NodeManagement getManagement()

Specifies the node management options for NAP created node-pools.

.google.container.v1.NodeManagement management = 4;

Returns
TypeDescription
NodeManagement

The management.

getManagementOrBuilder()

public abstract NodeManagementOrBuilder getManagementOrBuilder()

Specifies the node management options for NAP created node-pools.

.google.container.v1.NodeManagement management = 4;

Returns
TypeDescription
NodeManagementOrBuilder

getMinCpuPlatform() (deprecated)

public abstract String getMinCpuPlatform()

Deprecated. google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=3347

Deprecated. Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read how to specify min CPU platform. This field is deprecated, min_cpu_platform should be specified using https://cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass "automatic" as field value.

string min_cpu_platform = 5 [deprecated = true];

Returns
TypeDescription
String

The minCpuPlatform.

getMinCpuPlatformBytes() (deprecated)

public abstract ByteString getMinCpuPlatformBytes()

Deprecated. google.container.v1.AutoprovisioningNodePoolDefaults.min_cpu_platform is deprecated. See google/container/v1/cluster_service.proto;l=3347

Deprecated. Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read how to specify min CPU platform. This field is deprecated, min_cpu_platform should be specified using https://cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass "automatic" as field value.

string min_cpu_platform = 5 [deprecated = true];

Returns
TypeDescription
ByteString

The bytes for minCpuPlatform.

getOauthScopes(int index)

public abstract String getOauthScopes(int index)

Scopes that are used by NAP when creating node pools.

repeated string oauth_scopes = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The oauthScopes at the given index.

getOauthScopesBytes(int index)

public abstract ByteString getOauthScopesBytes(int index)

Scopes that are used by NAP when creating node pools.

repeated string oauth_scopes = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the oauthScopes at the given index.

getOauthScopesCount()

public abstract int getOauthScopesCount()

Scopes that are used by NAP when creating node pools.

repeated string oauth_scopes = 1;

Returns
TypeDescription
int

The count of oauthScopes.

getOauthScopesList()

public abstract List<String> getOauthScopesList()

Scopes that are used by NAP when creating node pools.

repeated string oauth_scopes = 1;

Returns
TypeDescription
List<String>

A list containing the oauthScopes.

getServiceAccount()

public abstract String getServiceAccount()

The Google Cloud Platform Service Account to be used by the node VMs.

string service_account = 2;

Returns
TypeDescription
String

The serviceAccount.

getServiceAccountBytes()

public abstract ByteString getServiceAccountBytes()

The Google Cloud Platform Service Account to be used by the node VMs.

string service_account = 2;

Returns
TypeDescription
ByteString

The bytes for serviceAccount.

getShieldedInstanceConfig()

public abstract ShieldedInstanceConfig getShieldedInstanceConfig()

Shielded Instance options.

.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;

Returns
TypeDescription
ShieldedInstanceConfig

The shieldedInstanceConfig.

getShieldedInstanceConfigOrBuilder()

public abstract ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()

Shielded Instance options.

.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;

Returns
TypeDescription
ShieldedInstanceConfigOrBuilder

getUpgradeSettings()

public abstract NodePool.UpgradeSettings getUpgradeSettings()

Specifies the upgrade settings for NAP created node pools

.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;

Returns
TypeDescription
NodePool.UpgradeSettings

The upgradeSettings.

getUpgradeSettingsOrBuilder()

public abstract NodePool.UpgradeSettingsOrBuilder getUpgradeSettingsOrBuilder()

Specifies the upgrade settings for NAP created node pools

.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;

Returns
TypeDescription
NodePool.UpgradeSettingsOrBuilder

hasManagement()

public abstract boolean hasManagement()

Specifies the node management options for NAP created node-pools.

.google.container.v1.NodeManagement management = 4;

Returns
TypeDescription
boolean

Whether the management field is set.

hasShieldedInstanceConfig()

public abstract boolean hasShieldedInstanceConfig()

Shielded Instance options.

.google.container.v1.ShieldedInstanceConfig shielded_instance_config = 8;

Returns
TypeDescription
boolean

Whether the shieldedInstanceConfig field is set.

hasUpgradeSettings()

public abstract boolean hasUpgradeSettings()

Specifies the upgrade settings for NAP created node pools

.google.container.v1.NodePool.UpgradeSettings upgrade_settings = 3;

Returns
TypeDescription
boolean

Whether the upgradeSettings field is set.