Class: Google::Apis::MigrationcenterV1alpha1::ResourceLocation
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1alpha1::ResourceLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb
Overview
Location of a resource.
Instance Attribute Summary collapse
-
#region ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourceLocation
constructor
A new instance of ResourceLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourceLocation
Returns a new instance of ResourceLocation.
7637 7638 7639 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7637 def initialize(**args) update!(**args) end |
Instance Attribute Details
#region ⇒ String
Optional. The name of the region.
Corresponds to the JSON property region
7635 7636 7637 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7635 def region @region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7642 7643 7644 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 7642 def update!(**args) @region = args[:region] if args.key?(:region) end |