Google Cloud Bare Metal Solution V2 Client - Class StopInstanceRequest (1.0.2)

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

Message requesting to stop a server.

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

Namespace

Google \ Cloud \ BareMetalSolution \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Name of the resource.

getName

Required. Name of the resource.

Returns
Type Description
string

setName

Required. Name of the resource.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. Name of the resource. Please see BareMetalSolutionClient::instanceName() for help formatting this field.

Returns
Type Description
StopInstanceRequest