Compute V1 Client - Class DisksAddResourcePoliciesRequest (1.17.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ resource_policies array

Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.

getResourcePolicies

Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setResourcePolicies

Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy.

Parameter
Name Description
var string[]
Returns
Type Description
$this