Compute V1 Client - Class DisksAddResourcePoliciesRequest (1.10.1)

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
NameDescription
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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this