Compute V1 Client - Class DisksAddResourcePoliciesRequest (1.8.3)

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

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

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