Compute V1 Client - Class GetHealthBackendServiceRequest (1.16.2)

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

A request message for BackendServices.GetHealth. See the method description for details.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backend_service string

Name of the BackendService resource to which the queried instance belongs.

↳ project string
↳ resource_group_reference_resource Google\Cloud\Compute\V1\ResourceGroupReference

The body resource for this request

getBackendService

Name of the BackendService resource to which the queried instance belongs.

Returns
Type Description
string

setBackendService

Name of the BackendService resource to which the queried instance belongs.

Parameter
Name Description
var string
Returns
Type Description
$this

getProject

Generated from protobuf field string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
string

setProject

Generated from protobuf field string project = 227560217 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceGroupReferenceResource

The body resource for this request

Returns
Type Description
Google\Cloud\Compute\V1\ResourceGroupReference|null

hasResourceGroupReferenceResource

clearResourceGroupReferenceResource

setResourceGroupReferenceResource

The body resource for this request

Parameter
Name Description
var Google\Cloud\Compute\V1\ResourceGroupReference
Returns
Type Description
$this

static::build

Parameters
Name Description
project string
backendService string

Name of the BackendService resource to which the queried instance belongs.

resourceGroupReferenceResource Google\Cloud\Compute\V1\ResourceGroupReference

The body resource for this request

Returns
Type Description
Google\Cloud\Compute\V1\GetHealthBackendServiceRequest