Compute V1 Client - Class InstancesRemoveResourcePoliciesRequest (1.11.1)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resource_policies array

Resource policies to be removed from this instance.

getResourcePolicies

Resource policies to be removed from this instance.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setResourcePolicies

Resource policies to be removed from this instance.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this