Reference documentation and code samples for the Artifact Registry V1 API class Google::Cloud::ArtifactRegistry::V1::CreateRuleRequest.
The request to create a new rule.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
- (::String) — Required. The name of the parent resource where the rule will be created.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — 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.
#rule
def rule() -> ::Google::Cloud::ArtifactRegistry::V1::Rule
Returns
- (::Google::Cloud::ArtifactRegistry::V1::Rule) — The rule to be created.
#rule=
def rule=(value) -> ::Google::Cloud::ArtifactRegistry::V1::Rule
Parameter
- value (::Google::Cloud::ArtifactRegistry::V1::Rule) — The rule to be created.
Returns
- (::Google::Cloud::ArtifactRegistry::V1::Rule) — The rule to be created.
#rule_id
def rule_id() -> ::String
Returns
- (::String) — The rule id to use for this repository.
#rule_id=
def rule_id=(value) -> ::String
Parameter
- value (::String) — The rule id to use for this repository.
Returns
- (::String) — The rule id to use for this repository.