Class: Google::Apis::ServicecontrolV1::ResourceLocation
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ServicecontrolV1::ResourceLocation
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/servicecontrol_v1/classes.rb,
generated/google/apis/servicecontrol_v1/representations.rb,
generated/google/apis/servicecontrol_v1/representations.rb 
Overview
Location information about a resource.
Instance Attribute Summary collapse
- 
  
    
      #current_locations  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The locations of a resource after the execution of the operation.
 - 
  
    
      #original_locations  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The locations of a resource prior to the execution of the operation.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ResourceLocation 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ResourceLocation.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResourceLocation
Returns a new instance of ResourceLocation
      2209 2210 2211  | 
    
      # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 2209 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#current_locations ⇒ Array<String>
The locations of a resource after the execution of the operation.
For example:
"europe-west1-a"
"us-east1"
"nam3"
Corresponds to the JSON property currentLocations
      2198 2199 2200  | 
    
      # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 2198 def current_locations @current_locations end  | 
  
#original_locations ⇒ Array<String>
The locations of a resource prior to the execution of the operation.
For example:
"europe-west1-a"
"us-east1"
"nam3"
Corresponds to the JSON property originalLocations
      2207 2208 2209  | 
    
      # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 2207 def original_locations @original_locations end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2214 2215 2216 2217  | 
    
      # File 'generated/google/apis/servicecontrol_v1/classes.rb', line 2214 def update!(**args) @current_locations = args[:current_locations] if args.key?(:current_locations) @original_locations = args[:original_locations] if args.key?(:original_locations) end  |