Compute V1 Client - Class GetHealthRegionBackendServiceRequest (1.9.1)

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

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ backend_service string

Name of the BackendService resource for which to get health.

↳ project string
↳ region string

Name of the region scoping this request.

↳ resource_group_reference_resource Google\Cloud\Compute\V1\ResourceGroupReference

The body resource for this request

getBackendService

Name of the BackendService resource for which to get health.

Returns
TypeDescription
string

setBackendService

Name of the BackendService resource for which to get health.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getProject

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

Returns
TypeDescription
string

setProject

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRegion

Name of the region scoping this request.

Returns
TypeDescription
string

setRegion

Name of the region scoping this request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getResourceGroupReferenceResource

The body resource for this request

Returns
TypeDescription
Google\Cloud\Compute\V1\ResourceGroupReference|null

hasResourceGroupReferenceResource

clearResourceGroupReferenceResource

setResourceGroupReferenceResource

The body resource for this request

Parameter
NameDescription
var Google\Cloud\Compute\V1\ResourceGroupReference
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
project string
region string

Name of the region scoping this request.

backendService string

Name of the BackendService resource for which to get health.

resourceGroupReferenceResource Google\Cloud\Compute\V1\ResourceGroupReference

The body resource for this request

Returns
TypeDescription
Google\Cloud\Compute\V1\GetHealthRegionBackendServiceRequest