Google Cloud Org Policy V2 Client - Class GetEffectivePolicyRequest (1.1.0)

Reference documentation and code samples for the Google Cloud Org Policy V2 Client class GetEffectivePolicyRequest.

The request sent to the GetEffectivePolicy method.

Generated from protobuf message google.cloud.orgpolicy.v2.GetEffectivePolicyRequest

Namespace

Google \ Cloud \ OrgPolicy \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The effective policy to compute. See Policy for naming requirements.

getName

Required. The effective policy to compute. See Policy for naming requirements.

Returns
Type Description
string

setName

Required. The effective policy to compute. See Policy for naming requirements.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The effective policy to compute. See Policy for naming requirements. Please see Google\Cloud\OrgPolicy\V2\OrgPolicyClient::policyName() for help formatting this field.

Returns
Type Description
Google\Cloud\OrgPolicy\V2\GetEffectivePolicyRequest