REST Resource: projects.locations.instances.tagSubscriptions

Resource: TagSubscription

TagSubscription resource.

JSON representation
{
  "name": string,
  "tags": [
    string
  ],
  "displayName": string,
  "description": string,
  "createTime": string,
  "updateTime": string,
  "ruleConfig": {
    object (RuleConfig)
  }
}
Fields
name

string

Identifier. Full resource name for the tag subscription. Format: projects/{project}/locations/{location}/instances/{instance}/tagSubscriptions/{tagSubscription}

tags[]

string

Required. Immutable. The tags associated with this tag subscription. These tags cannot be modified. Format: projects/{project}/locations/{location}/instances/{instance}/tags/{tag}

displayName

string

Optional. Display name of the tag subscription.

description

string

Optional. Description of the tag subscription.

createTime

string (Timestamp format)

Output only. The timestamp of when the tag subscription was created.

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. The timestamp of when the tag subscription was last updated.

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

ruleConfig

object (RuleConfig)

Optional. Configuration for the tag subscription.

RuleConfig

Defines configuration behavior for rules joining this subscription. These settings are applied when a tag with a subscription is added to a rule, not during subscription creation or updates.

JSON representation
{
  "alertingEnabled": boolean
}
Fields
alertingEnabled

boolean

Optional. Default alerting status for rules joining this subscription.

Methods

create

Creates a Tag Subscription.

delete

Deletes a Tag Subscription.

get

Gets a Tag Subscription.

list

Lists Tag Subscriptions.

patch

Updates a Tag Subscription.