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 | |
---|---|
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 |