class RegionHealthChecks extends Resource (View source)

The "regionHealthChecks" collection of methods.

Typical usage is:

 $computeService = new Google\Service\Compute(...);
 $regionHealthChecks = $computeService->regionHealthChecks;

Methods

delete(string $project, string $region, string $healthCheck, array $optParams = [])

Deletes the specified HealthCheck resource. (regionHealthChecks.delete)

get(string $project, string $region, string $healthCheck, array $optParams = [])

Returns the specified HealthCheck resource. (regionHealthChecks.get)

insert(string $project, string $region, HealthCheck $postBody, array $optParams = [])

Creates a HealthCheck resource in the specified project using the data included in the request. (regionHealthChecks.insert)

listRegionHealthChecks(string $project, string $region, array $optParams = [])

Retrieves the list of HealthCheck resources available to the specified project. (regionHealthChecks.listRegionHealthChecks)

patch(string $project, string $region, string $healthCheck, HealthCheck $postBody, array $optParams = [])

Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (regionHealthChecks.patch)

update(string $project, string $region, string $healthCheck, HealthCheck $postBody, array $optParams = [])

Updates a HealthCheck resource in the specified project using the data included in the request. (regionHealthChecks.update)

Details

Operation delete(string $project, string $region, string $healthCheck, array $optParams = [])

Deletes the specified HealthCheck resource. (regionHealthChecks.delete)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $healthCheck

Name of the HealthCheck resource to delete.

array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

HealthCheck get(string $project, string $region, string $healthCheck, array $optParams = [])

Returns the specified HealthCheck resource. (regionHealthChecks.get)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $healthCheck

Name of the HealthCheck resource to return.

array $optParams

Optional parameters.

Return Value

HealthCheck

Exceptions

Exception

Operation insert(string $project, string $region, HealthCheck $postBody, array $optParams = [])

Creates a HealthCheck resource in the specified project using the data included in the request. (regionHealthChecks.insert)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

HealthCheck $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

HealthCheckList listRegionHealthChecks(string $project, string $region, array $optParams = [])

Retrieves the list of HealthCheck resources available to the specified project. (regionHealthChecks.listRegionHealthChecks)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

array $optParams

Optional parameters.

Return Value

HealthCheckList

Exceptions

Exception

Operation patch(string $project, string $region, string $healthCheck, HealthCheck $postBody, array $optParams = [])

Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. (regionHealthChecks.patch)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $healthCheck

Name of the HealthCheck resource to patch.

HealthCheck $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception

Operation update(string $project, string $region, string $healthCheck, HealthCheck $postBody, array $optParams = [])

Updates a HealthCheck resource in the specified project using the data included in the request. (regionHealthChecks.update)

Parameters

string $project

Project ID for this request.

string $region

Name of the region scoping this request.

string $healthCheck

Name of the HealthCheck resource to update.

HealthCheck $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception