Compute V1 Client - Class BulkInsertInstanceResourcePerInstanceProperties (1.14.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
data array

Optional. Data for populating the Message object.

↳ hostname string

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

↳ name string

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
var string
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
var string
Returns
TypeDescription
$this