Compute V1 Client - Class GetHealthBackendServiceRequest (1.5.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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.

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

Returns
TypeDescription
string

setBackendService

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

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

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

getResourceGroupReferenceResource

The body resource for this request

Generated from protobuf field .google.cloud.compute.v1.ResourceGroupReference resource_group_reference_resource = 112951123 [(.google.api.field_behavior) = REQUIRED];

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

hasResourceGroupReferenceResource

clearResourceGroupReferenceResource

setResourceGroupReferenceResource

The body resource for this request

Generated from protobuf field .google.cloud.compute.v1.ResourceGroupReference resource_group_reference_resource = 112951123 [(.google.api.field_behavior) = REQUIRED];

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