Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AwsCluster.
An Anthos cluster running on AWS.
Generated from protobuf message google.cloud.gkemulticloud.v1.AwsCluster
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
The name of this resource. Cluster names are formatted as projects/<project-number>/locations/<region>/awsClusters/<cluster-id>
. See Resource Names
for more details on GCP resource names.
↳ description
string
Optional. A human readable description of this cluster. Cannot be longer than 255 UTF-8 encoded bytes.
↳ networking
↳ aws_region
string
Required. The AWS region where the cluster runs. Each Google Cloud region supports a subset of nearby AWS regions. You can call GetAwsServerConfig to list all supported AWS regions within a given Google Cloud region.
↳ control_plane
Google\Cloud\GkeMultiCloud\V1\AwsControlPlane
Required. Configuration related to the cluster control plane.
↳ authorization
Google\Cloud\GkeMultiCloud\V1\AwsAuthorization
Required. Configuration related to the cluster RBAC settings.
↳ state
int
Output only. The current state of the cluster.
↳ endpoint
string
Output only. The endpoint of the cluster's API server.
↳ uid
string
Output only. A globally unique identifier for the cluster.
↳ reconciling
bool
Output only. If set, there are currently changes in flight to the cluster.
↳ create_time
Google\Protobuf\Timestamp
Output only. The time at which this cluster was created.
↳ update_time
Google\Protobuf\Timestamp
Output only. The time at which this cluster was last updated.
↳ etag
string
Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
↳ annotations
array|Google\Protobuf\Internal\MapField
Optional. Annotations on the cluster. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
↳ workload_identity_config
↳ cluster_ca_certificate
string
Output only. PEM encoded x509 certificate of the cluster root of trust.
↳ fleet
↳ logging_config
getName
The name of this resource.
Cluster names are formatted as projects/<project-number>/locations/<region>/awsClusters/<cluster-id>
.
See Resource Names
for more details on GCP resource names.
Generated from protobuf field string name = 1;
string
setName
The name of this resource.
Cluster names are formatted as projects/<project-number>/locations/<region>/awsClusters/<cluster-id>
.
See Resource Names
for more details on GCP resource names.
Generated from protobuf field string name = 1;
var
string
$this
getDescription
Optional. A human readable description of this cluster.
Cannot be longer than 255 UTF-8 encoded bytes.
Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL];
string
setDescription
Optional. A human readable description of this cluster.
Cannot be longer than 255 UTF-8 encoded bytes.
Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL];
var
string
$this
getNetworking
Required. Cluster-wide networking configuration.
Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED];
hasNetworking
clearNetworking
setNetworking
Required. Cluster-wide networking configuration.
Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsClusterNetworking networking = 3 [(.google.api.field_behavior) = REQUIRED];
$this
getAwsRegion
Required. The AWS region where the cluster runs.
Each Google Cloud region supports a subset of nearby AWS regions. You can call GetAwsServerConfig to list all supported AWS regions within a given Google Cloud region.
Generated from protobuf field string aws_region = 4 [(.google.api.field_behavior) = REQUIRED];
string
setAwsRegion
Required. The AWS region where the cluster runs.
Each Google Cloud region supports a subset of nearby AWS regions. You can call GetAwsServerConfig to list all supported AWS regions within a given Google Cloud region.
Generated from protobuf field string aws_region = 4 [(.google.api.field_behavior) = REQUIRED];
var
string
$this
getControlPlane
Required. Configuration related to the cluster control plane.
Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED];
hasControlPlane
clearControlPlane
setControlPlane
Required. Configuration related to the cluster control plane.
Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsControlPlane control_plane = 5 [(.google.api.field_behavior) = REQUIRED];
$this
getAuthorization
Required. Configuration related to the cluster RBAC settings.
Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];
hasAuthorization
clearAuthorization
setAuthorization
Required. Configuration related to the cluster RBAC settings.
Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsAuthorization authorization = 15 [(.google.api.field_behavior) = REQUIRED];
$this
getState
Output only. The current state of the cluster.
Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
int
setState
Output only. The current state of the cluster.
Generated from protobuf field .google.cloud.gkemulticloud.v1.AwsCluster.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
int
$this
getEndpoint
Output only. The endpoint of the cluster's API server.
Generated from protobuf field string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setEndpoint
Output only. The endpoint of the cluster's API server.
Generated from protobuf field string endpoint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this
getUid
Output only. A globally unique identifier for the cluster.
Generated from protobuf field string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setUid
Output only. A globally unique identifier for the cluster.
Generated from protobuf field string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this
getReconciling
Output only. If set, there are currently changes in flight to the cluster.
Generated from protobuf field bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
bool
setReconciling
Output only. If set, there are currently changes in flight to the cluster.
Generated from protobuf field bool reconciling = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
bool
$this
getCreateTime
Output only. The time at which this cluster was created.
Generated from protobuf field .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time at which this cluster was created.
Generated from protobuf field .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getUpdateTime
Output only. The time at which this cluster was last updated.
Generated from protobuf field .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Google\Protobuf\Timestamp|null
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time at which this cluster was last updated.
Generated from protobuf field .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
Google\Protobuf\Timestamp
$this
getEtag
Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Generated from protobuf field string etag = 13;
string
setEtag
Allows clients to perform consistent read-modify-writes through optimistic concurrency control.
Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
Generated from protobuf field string etag = 13;
var
string
$this
getAnnotations
Optional. Annotations on the cluster.
This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Generated from protobuf field map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];
Google\Protobuf\Internal\MapField
setAnnotations
Optional. Annotations on the cluster.
This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Key can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.
Generated from protobuf field map<string, string> annotations = 14 [(.google.api.field_behavior) = OPTIONAL];
var
array|Google\Protobuf\Internal\MapField
$this
getWorkloadIdentityConfig
Output only. Workload Identity settings.
Generated from protobuf field .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasWorkloadIdentityConfig
clearWorkloadIdentityConfig
setWorkloadIdentityConfig
Output only. Workload Identity settings.
Generated from protobuf field .google.cloud.gkemulticloud.v1.WorkloadIdentityConfig workload_identity_config = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
$this
getClusterCaCertificate
Output only. PEM encoded x509 certificate of the cluster root of trust.
Generated from protobuf field string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
string
setClusterCaCertificate
Output only. PEM encoded x509 certificate of the cluster root of trust.
Generated from protobuf field string cluster_ca_certificate = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
var
string
$this
getFleet
Optional. Fleet configuration.
Generated from protobuf field .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL];
hasFleet
clearFleet
setFleet
Optional. Fleet configuration.
Generated from protobuf field .google.cloud.gkemulticloud.v1.Fleet fleet = 18 [(.google.api.field_behavior) = OPTIONAL];
$this
getLoggingConfig
Optional. Logging configuration for this cluster.
Generated from protobuf field .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL];
hasLoggingConfig
clearLoggingConfig
setLoggingConfig
Optional. Logging configuration for this cluster.
Generated from protobuf field .google.cloud.gkemulticloud.v1.LoggingConfig logging_config = 19 [(.google.api.field_behavior) = OPTIONAL];
$this

