Reference documentation and code samples for the Google Cloud Artifact Registry V1 Client class CreateRuleRequest.
The request to create a new rule.
Generated from protobuf message google.devtools.artifactregistry.v1.CreateRuleRequest
Namespace
Google \ Cloud \ ArtifactRegistry \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The name of the parent resource where the rule will be created.
↳ rule_id
string
The rule id to use for this repository.
↳ rule
getParent
Required. The name of the parent resource where the rule will be created.
string
setParent
Required. The name of the parent resource where the rule will be created.
var
string
$this
getRuleId
The rule id to use for this repository.
string
setRuleId
The rule id to use for this repository.
var
string
$this
getRule
The rule to be created.
hasRule
clearRule
setRule
The rule to be created.
$this
static::build
parent
string
Required. The name of the parent resource where the rule will be created. Please see ArtifactRegistryClient::repositoryName() for help formatting this field.
rule
ruleId
string
The rule id to use for this repository.