Class: Google::Cloud::OrgPolicy::V2::CreateCustomConstraintRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#custom_constraint::Google::Cloud::OrgPolicy::V2::CustomConstraint

Returns Required. Custom constraint to create.

Returns:



357
358
359
360
# File 'proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb', line 357

class CreateCustomConstraintRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. Must be in the following form:

  • organizations/{organization_id}.

Returns:

  • (::String)

    Required. Must be in the following form:

    • organizations/{organization_id}


357
358
359
360
# File 'proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb', line 357

class CreateCustomConstraintRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end