# Artifact Registry V1beta2 API - Class Google::Cloud::ArtifactRegistry::V1beta2::CreateTagRequest (v0.20.0)

0.20.0 (latest) 0.19.0 0.18.0 0.17.1 0.16.0 0.15.0 0.14.1 0.13.0 0.12.1 0.11.2 0.10.0 0.9.1 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the Artifact Registry V1beta2 API class Google::Cloud::ArtifactRegistry::V1beta2::CreateTagRequest.

The request to create a new tag.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- The name of the parent resource where the tag will be created.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the parent resource where the tag will be created.
**Returns**

- (::String) --- The name of the parent resource where the tag will be created.

### #tag

    def tag() -> ::Google::Cloud::ArtifactRegistry::V1beta2::Tag

**Returns**

- ([::Google::Cloud::ArtifactRegistry::V1beta2::Tag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1beta2/latest/Google-Cloud-ArtifactRegistry-V1beta2-Tag)) --- The tag to be created.

### #tag=

    def tag=(value) -> ::Google::Cloud::ArtifactRegistry::V1beta2::Tag

**Parameter**

- **value** ([::Google::Cloud::ArtifactRegistry::V1beta2::Tag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1beta2/latest/Google-Cloud-ArtifactRegistry-V1beta2-Tag)) --- The tag to be created.
**Returns**

- ([::Google::Cloud::ArtifactRegistry::V1beta2::Tag](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-artifact_registry-v1beta2/latest/Google-Cloud-ArtifactRegistry-V1beta2-Tag)) --- The tag to be created.

### #tag_id

    def tag_id() -> ::String

**Returns**

- (::String) --- The tag id to use for this repository.

### #tag_id=

    def tag_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The tag id to use for this repository.
**Returns**

- (::String) --- The tag id to use for this repository.