Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AwsVolumeTemplate.
Configuration template for AWS EBS volumes.
Generated from protobuf messagegoogle.cloud.gkemulticloud.v1.AwsVolumeTemplate
Namespace
Google \ Cloud \ GkeMultiCloud \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ size_gib
int
Optional. The size of the volume, in GiBs. When unspecified, a default value is provided. See the specific reference in the parent resource.
↳ volume_type
int
Optional. Type of the EBS volume. When unspecified, it defaults to GP2 volume.
↳ iops
int
Optional. The number of I/O operations per second (IOPS) to provision for GP3 volume.
↳ throughput
int
Optional. The throughput that the volume supports, in MiB/s. Only valid if volume_type is GP3. If the volume_type is GP3 and this is not speficied, it defaults to 125.
↳ kms_key_arn
string
Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to encrypt AWS EBS volumes. If not specified, the default Amazon managed key associated to the AWS region where this cluster runs will be used.
getSizeGib
Optional. The size of the volume, in GiBs.
When unspecified, a default value is provided. See the specific reference
in the parent resource.
Returns
Type
Description
int
setSizeGib
Optional. The size of the volume, in GiBs.
When unspecified, a default value is provided. See the specific reference
in the parent resource.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getVolumeType
Optional. Type of the EBS volume.
When unspecified, it defaults to GP2 volume.
Returns
Type
Description
int
setVolumeType
Optional. Type of the EBS volume.
When unspecified, it defaults to GP2 volume.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getIops
Optional. The number of I/O operations per second (IOPS) to provision for
GP3 volume.
Returns
Type
Description
int
setIops
Optional. The number of I/O operations per second (IOPS) to provision for
GP3 volume.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getThroughput
Optional. The throughput that the volume supports, in MiB/s. Only valid if
volume_type is GP3.
If the volume_type is GP3 and this is not speficied, it defaults to 125.
Returns
Type
Description
int
setThroughput
Optional. The throughput that the volume supports, in MiB/s. Only valid if
volume_type is GP3.
If the volume_type is GP3 and this is not speficied, it defaults to 125.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getKmsKeyArn
Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
used to encrypt AWS EBS volumes.
If not specified, the default Amazon managed key associated to
the AWS region where this cluster runs will be used.
Returns
Type
Description
string
setKmsKeyArn
Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)
used to encrypt AWS EBS volumes.
If not specified, the default Amazon managed key associated to
the AWS region where this cluster runs will be used.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Anthos Multi Cloud V1 Client - Class AwsVolumeTemplate (1.2.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.2 (latest)](/php/docs/reference/cloud-gke-multi-cloud/latest/V1.AwsVolumeTemplate)\n- [1.2.1](/php/docs/reference/cloud-gke-multi-cloud/1.2.1/V1.AwsVolumeTemplate)\n- [1.1.2](/php/docs/reference/cloud-gke-multi-cloud/1.1.2/V1.AwsVolumeTemplate)\n- [1.0.0](/php/docs/reference/cloud-gke-multi-cloud/1.0.0/V1.AwsVolumeTemplate)\n- [0.6.1](/php/docs/reference/cloud-gke-multi-cloud/0.6.1/V1.AwsVolumeTemplate)\n- [0.5.4](/php/docs/reference/cloud-gke-multi-cloud/0.5.4/V1.AwsVolumeTemplate)\n- [0.4.4](/php/docs/reference/cloud-gke-multi-cloud/0.4.4/V1.AwsVolumeTemplate)\n- [0.3.0](/php/docs/reference/cloud-gke-multi-cloud/0.3.0/V1.AwsVolumeTemplate)\n- [0.2.3](/php/docs/reference/cloud-gke-multi-cloud/0.2.3/V1.AwsVolumeTemplate)\n- [0.1.4](/php/docs/reference/cloud-gke-multi-cloud/0.1.4/V1.AwsVolumeTemplate) \nReference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AwsVolumeTemplate.\n\nConfiguration template for AWS EBS volumes.\n\nGenerated from protobuf message `google.cloud.gkemulticloud.v1.AwsVolumeTemplate`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ GkeMultiCloud \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getSizeGib\n\nOptional. The size of the volume, in GiBs.\n\nWhen unspecified, a default value is provided. See the specific reference\nin the parent resource.\n\n### setSizeGib\n\nOptional. The size of the volume, in GiBs.\n\nWhen unspecified, a default value is provided. See the specific reference\nin the parent resource.\n\n### getVolumeType\n\nOptional. Type of the EBS volume.\n\nWhen unspecified, it defaults to GP2 volume.\n\n### setVolumeType\n\nOptional. Type of the EBS volume.\n\nWhen unspecified, it defaults to GP2 volume.\n\n### getIops\n\nOptional. The number of I/O operations per second (IOPS) to provision for\nGP3 volume.\n\n### setIops\n\nOptional. The number of I/O operations per second (IOPS) to provision for\nGP3 volume.\n\n### getThroughput\n\nOptional. The throughput that the volume supports, in MiB/s. Only valid if\nvolume_type is GP3.\n\nIf the volume_type is GP3 and this is not speficied, it defaults to 125.\n\n### setThroughput\n\nOptional. The throughput that the volume supports, in MiB/s. Only valid if\nvolume_type is GP3.\n\nIf the volume_type is GP3 and this is not speficied, it defaults to 125.\n\n### getKmsKeyArn\n\nOptional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)\nused to encrypt AWS EBS volumes.\n\nIf not specified, the default Amazon managed key associated to\nthe AWS region where this cluster runs will be used.\n\n### setKmsKeyArn\n\nOptional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK)\nused to encrypt AWS EBS volumes.\n\nIf not specified, the default Amazon managed key associated to\nthe AWS region where this cluster runs will be used."]]