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}
.
311 312 313 314 |
# File 'proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb', line 311 class CreatePolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#policy ⇒ ::Google::Cloud::OrgPolicy::V2::Policy
Returns Required. Policy to create.
311 312 313 314 |
# File 'proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb', line 311 class CreatePolicyRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |