Class: Google::Cloud::Bigquery::Dataset::Tag

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/bigquery/dataset/tag.rb

Overview

A global tag managed by Resource Manager.

Instance Method Summary collapse

Instance Method Details

#tag_keyString

The namespaced friendly name of the tag key, e.g. "12345/environment" where 12345 is org id.

Returns:

  • (String)


43
44
45
# File 'lib/google/cloud/bigquery/dataset/tag.rb', line 43

def tag_key
  @gapi.tag_key
end

#tag_valueString

The friendly short name of the tag value, e.g. "production".

Returns:

  • (String)


52
53
54
# File 'lib/google/cloud/bigquery/dataset/tag.rb', line 52

def tag_value
  @gapi.tag_value
end