Google Cloud Bare Metal Solution V2 Client - Class UpdateInstanceRequest (0.3.2)

Reference documentation and code samples for the Google Cloud Bare Metal Solution V2 Client class UpdateInstanceRequest.

Message requesting to updating a server.

Generated from protobuf message google.cloud.baremetalsolution.v2.UpdateInstanceRequest

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ instance
Google\Cloud\BareMetalSolution\V2\Instance

Required. The server to update. The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/instances/{instance}

↳ update_mask
Google\Protobuf\FieldMask

The list of fields to update. The currently supported fields are: labels hyperthreading_enabled os_image

getInstance

Required. The server to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/instances/{instance}

Returns
Type
Description

hasInstance

clearInstance

setInstance

Required. The server to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/instances/{instance}

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

The list of fields to update.

The currently supported fields are: labels hyperthreading_enabled os_image

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to update.

The currently supported fields are: labels hyperthreading_enabled os_image

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
instance
Google\Cloud\BareMetalSolution\V2\Instance

Required. The server to update.

The name field is used to identify the instance to update. Format: projects/{project}/locations/{location}/instances/{instance}

updateMask
Google\Protobuf\FieldMask

The list of fields to update. The currently supported fields are: labels hyperthreading_enabled os_image

Create a Mobile Website
View Site in Mobile | Classic
Share by: