Class: Google::Apis::ReplicapoolV1beta1::Tag
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ReplicapoolV1beta1::Tag
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/replicapool_v1beta1/classes.rb,
 generated/google/apis/replicapool_v1beta1/representations.rb,
 generated/google/apis/replicapool_v1beta1/representations.rb
Overview
A Compute Engine Instance tag, identical to the tags on the corresponding Compute Engine Instance resource.
Instance Attribute Summary collapse
- 
  
    
      #finger_print  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The fingerprint of the tag. 
- 
  
    
      #items  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Items contained in this tag. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Tag 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Tag. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Tag
Returns a new instance of Tag
| 777 778 779 | # File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 777 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#finger_print ⇒ String
The fingerprint of the tag. Required for updating the list of tags.
Corresponds to the JSON property fingerPrint
| 770 771 772 | # File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 770 def finger_print @finger_print end | 
#items ⇒ Array<String>
Items contained in this tag.
Corresponds to the JSON property items
| 775 776 777 | # File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 775 def items @items end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 782 783 784 785 | # File 'generated/google/apis/replicapool_v1beta1/classes.rb', line 782 def update!(**args) @finger_print = args[:finger_print] if args.key?(:finger_print) @items = args[:items] if args.key?(:items) end |