class InstanceSettings extends Resource (View source)

The "instanceSettings" collection of methods.

Typical usage is:

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

Methods

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

Get Instance settings. (instanceSettings.get)

patch(string $project, string $zone, InstanceSettings $postBody, array $optParams = [])

Patch Instance settings (instanceSettings.patch)

Details

InstanceSettings get(string $project, string $zone, array $optParams = [])

Get Instance settings. (instanceSettings.get)

Parameters

string $project

Project ID for this request.

string $zone

Name of the zone for this request.

array $optParams

Optional parameters.

Return Value

InstanceSettings

Exceptions

Exception

Operation patch(string $project, string $zone, InstanceSettings $postBody, array $optParams = [])

Patch Instance settings (instanceSettings.patch)

Parameters

string $project

Project ID for this request.

string $zone

The zone scoping this request. It should conform to RFC1035.

InstanceSettings $postBody
array $optParams

Optional parameters.

Return Value

Operation

Exceptions

Exception