Artifact Registry V1 API - Class Google::Cloud::ArtifactRegistry::V1::CreateRuleRequest (v1.1.0)

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

#rule=

def rule=(value) -> ::Google::Cloud::ArtifactRegistry::V1::Rule
Parameter
Returns

#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.