Compute V1 Client - Class InstanceSettingsMetadata (1.18.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ items array|Google\Protobuf\Internal\MapField

A metadata key/value items map. The total size of all keys and values must be less than 512KB.

↳ kind string

[Output Only] Type of the resource. Always compute#metadata for metadata.

getItems

A metadata key/value items map. The total size of all keys and values must be less than 512KB.

Returns
Type Description
Google\Protobuf\Internal\MapField

setItems

A metadata key/value items map. The total size of all keys and values must be less than 512KB.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getKind

[Output Only] Type of the resource. Always compute#metadata for metadata.

Returns
Type Description
string

hasKind

clearKind

setKind

[Output Only] Type of the resource. Always compute#metadata for metadata.

Parameter
Name Description
var string
Returns
Type Description
$this