Class: Google::Cloud::ArtifactRegistry::V1::CreateRuleRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/artifactregistry/v1/rule.rb

Overview

The request to create a new rule.

Instance Attribute Summary collapse

Instance Attribute Details

#parent::String

Returns Required. The name of the parent resource where the rule will be created.

Returns:

  • (::String)

    Required. The name of the parent resource where the rule will be created.



119
120
121
122
# File 'proto_docs/google/devtools/artifactregistry/v1/rule.rb', line 119

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

#rule::Google::Cloud::ArtifactRegistry::V1::Rule

Returns The rule to be created.

Returns:



119
120
121
122
# File 'proto_docs/google/devtools/artifactregistry/v1/rule.rb', line 119

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

#rule_id::String

Returns The rule id to use for this repository.

Returns:

  • (::String)

    The rule id to use for this repository.



119
120
121
122
# File 'proto_docs/google/devtools/artifactregistry/v1/rule.rb', line 119

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