Compute V1 Client - Class RegionDisksAddResourcePoliciesRequest (1.8.3)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resource_policies array

Resource policies to be added to this disk.

getResourcePolicies

Resource policies to be added to this disk.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResourcePolicies

Resource policies to be added to this disk.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this