Compute V1 Client - Class BulkInsertInstanceResourcePerInstanceProperties (1.16.2)

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
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getName

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

Returns
Type Description
string

hasName

clearName

setName

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

Parameter
Name Description
var string
Returns
Type Description
$this