Compute V1 Client - Class InstanceSettingsMetadata (1.24.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
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ itemsarray|Google\Protobuf\Internal\MapField

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

↳ kindstring

[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
TypeDescription
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
NameDescription
vararray|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getKind

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

Returns
TypeDescription
string

hasKind

clearKind

setKind

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

Parameter
NameDescription
varstring
Returns
TypeDescription
$this