Class: Google::Apis::AppengineV1beta::GceTag
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1beta::GceTag
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/appengine_v1beta/classes.rb,
lib/google/apis/appengine_v1beta/representations.rb,
lib/google/apis/appengine_v1beta/representations.rb
Overview
For use only by GCE. GceTag is a wrapper around the GCE administrative tag with parent info.
Instance Attribute Summary collapse
-
#parent ⇒ Array<String>
The parents(s) of the tag.
-
#tag ⇒ String
The administrative_tag name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GceTag
constructor
A new instance of GceTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GceTag
Returns a new instance of GceTag.
1265 1266 1267 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 1265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parent ⇒ Array<String>
The parents(s) of the tag. Eg. projects/123, folders/456 It usually contains
only one parent. But, in some corner cases, it can contain multiple parents.
Currently, organizations are not supported.
Corresponds to the JSON property parent
1258 1259 1260 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 1258 def parent @parent end |
#tag ⇒ String
The administrative_tag name.
Corresponds to the JSON property tag
1263 1264 1265 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 1263 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1270 1271 1272 1273 |
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 1270 def update!(**args) @parent = args[:parent] if args.key?(:parent) @tag = args[:tag] if args.key?(:tag) end |