Organization Policy V2 API - Class Google::Cloud::OrgPolicy::V2::GetPolicyRequest (v0.4.0)

Reference documentation and code samples for the Organization Policy V2 API class Google::Cloud::OrgPolicy::V2::GetPolicyRequest.

The request sent to the [GetPolicy] [google.cloud.orgpolicy.v2.OrgPolicy.GetPolicy] method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Required. Resource name of the policy. See Policy for naming requirements.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. Resource name of the policy. See Policy for naming requirements.
Returns
  • (::String) — Required. Resource name of the policy. See Policy for naming requirements.