Reference documentation and code samples for the Google Cloud Artifact Registry V1beta2 Client class CreateTagRequest.
The request to create a new tag.
Generated from protobuf message google.devtools.artifactregistry.v1beta2.CreateTagRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
The name of the parent resource where the tag will be created. |
↳ tag_id |
string
The tag id to use for this repository. |
↳ tag |
Google\Cloud\ArtifactRegistry\V1beta2\Tag
The tag to be created. |
getParent
The name of the parent resource where the tag will be created.
Returns | |
---|---|
Type | Description |
string |
setParent
The name of the parent resource where the tag will be created.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTagId
The tag id to use for this repository.
Returns | |
---|---|
Type | Description |
string |
setTagId
The tag id to use for this repository.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTag
The tag to be created.
Returns | |
---|---|
Type | Description |
Google\Cloud\ArtifactRegistry\V1beta2\Tag|null |
hasTag
clearTag
setTag
The tag to be created.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\ArtifactRegistry\V1beta2\Tag
|
Returns | |
---|---|
Type | Description |
$this |