Google Cloud Hypercompute Cluster V1beta Client - Class NewReservedInstancesConfig (0.1.0)

Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class NewReservedInstancesConfig.

When set in a ComputeResourceConfig, indicates that VM instances should be created from a reservation.

Generated from protobuf message google.cloud.hypercomputecluster.v1beta.NewReservedInstancesConfig

Namespace

Google \ Cloud \ HypercomputeCluster \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ reservation string

Optional. Immutable. Name of the reservation from which VM instances should be created, in the format projects/{project}/zones/{zone}/reservations/{reservation}.

getReservation

Optional. Immutable. Name of the reservation from which VM instances should be created, in the format projects/{project}/zones/{zone}/reservations/{reservation}.

Returns
Type Description
string

hasReservation

setReservation

Optional. Immutable. Name of the reservation from which VM instances should be created, in the format projects/{project}/zones/{zone}/reservations/{reservation}.

Parameter
Name Description
var string
Returns
Type Description
$this

getSource

Returns
Type Description
string