Resource: Tag
Tag resource.
| JSON representation |
|---|
{
"name": string,
"displayName": string,
"description": string,
"childTags": [
string
],
"etag": string,
"tagOwner": enum ( |
| Fields | |
|---|---|
name |
Identifier. Full resource name for the Tag. Format: projects/{project}/locations/{location}/instances/{instance}/tags/{tag} |
displayName |
Optional. Display name of the tag. |
description |
Optional. Description of the tag. |
childTags[] |
Optional. Deprecated: Prefer parentTags instead. Resource names of associated tags organized under the tag. Example: [ "projects/{project}/locations/{location}/instances/{instance}/ tags/google.mitre.technique.T9999.0001" ] |
etag |
Optional. The etag for this tag. If this is provided on update, the request will succeed if and only if it matches the server-computed value, and will fail with an ABORTED error otherwise. |
tagOwner |
Output only. The tag owner (i.e., whether the tag is customer-authored or Google-authored). |
parentTags[] |
Optional. Resource names of associated tags that this tag is a child of. Populated in FULL and BASIC views. Example: [ "projects/{project}/locations/{location}/instances/{instance}/ tags/google.mitre.technique.T9999.0001" ] |
metadata |
Optional. Unstructured key-value metadata. Populated in FULL view. An object containing a list of |
createTime |
Output only. The timestamp of when the tag was created. Populated in FULL view. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The timestamp of when the tag was last updated. Populated in FULL view. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
TagOwner
TagOwner is an enum representing the author/curator of the tag.
| Enums | |
|---|---|
TAG_OWNER_UNSPECIFIED |
Tag owners is unspecified. |
TAG_OWNER_CUSTOMER |
Tag is customer-authored. |
TAG_OWNER_GOOGLE |
Tag is Google-authored. |
Methods |
|
|---|---|
|
Creates a new Tag. |
|
Deletes a Tag. |
|
Gets a single Tag. |
|
Lists a collection of Tags |
|
Updates an existing Tag. |