Class: Google::Cloud::OrgPolicy::V2::CreatePolicyRequest
- Inherits:
-
Object
- Object
- Google::Cloud::OrgPolicy::V2::CreatePolicyRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb
Overview
The request sent to the [CreatePolicyRequest] [google.cloud.orgpolicy.v2.OrgPolicy.CreatePolicy] method.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#policy ⇒ ::Google::Cloud::OrgPolicy::V2::Policy
Required.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. The Google Cloud resource that will parent the new policy. Must be in one of the following forms:
projects/{project_number}projects/{project_id}folders/{folder_id}organizations/{organization_id}.
329 330 331 332 |
# File 'proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb', line 329 class CreatePolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#policy ⇒ ::Google::Cloud::OrgPolicy::V2::Policy
Returns Required. Policy to create.
329 330 331 332 |
# File 'proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb', line 329 class CreatePolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |