Compute V1 Client - Class BulkInsertInstanceResourcePerInstanceProperties (1.23.0)

Reference documentation and code samples for the Compute V1 Client class BulkInsertInstanceResourcePerInstanceProperties.

Per-instance properties to be set on individual instances. To be extended in the future.

Generated from protobuf message google.cloud.compute.v1.BulkInsertInstanceResourcePerInstanceProperties

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ hostnamestring

Specifies the hostname of the instance. More details in: https://cloud.google.com/compute/docs/instances/custom-hostname-vm#naming_convention

↳ namestring

This field is only temporary. It will be removed. Do not use it.

getHostname

Specifies the hostname of the instance. More details in: https://cloud.google.com/compute/docs/instances/custom-hostname-vm#naming_convention

Returns
TypeDescription
string

hasHostname

clearHostname

setHostname

Specifies the hostname of the instance. More details in: https://cloud.google.com/compute/docs/instances/custom-hostname-vm#naming_convention

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getName

This field is only temporary. It will be removed. Do not use it.

Returns
TypeDescription
string

hasName

clearName

setName

This field is only temporary. It will be removed. Do not use it.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this