Google Cloud AlloyDB for PostgreSQL V1beta Client - Class BatchCreateInstancesMetadata (0.9.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1beta Client class BatchCreateInstancesMetadata.

Message for metadata that is specific to BatchCreateInstances API.

NEXT_ID: 3

Generated from protobuf message google.cloud.alloydb.v1beta.BatchCreateInstancesMetadata

Namespace

Google \ Cloud \ AlloyDb \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instance_targets array

The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.

↳ instance_statuses array|Google\Protobuf\Internal\MapField

A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution. The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.

getInstanceTargets

The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInstanceTargets

The instances being created in the API call. Each string in this list is the server defined resource path for target instances in the request and for the format of each string, see the comment on the Instance.name field.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getInstanceStatuses

A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution.

The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setInstanceStatuses

A map representing state of the instances involved in the BatchCreateInstances operation during the operation execution.

The instance state will be in STATE_UNSPECIFIED state if the instance has not yet been picked up for processing. The key of the map is the name of the instance resource. For the format, see the comment on the Instance.name field.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this