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.
8026 8027 8028 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8026 def initialize(**args) update!(**args) end |
Instance Attribute Details
#region ⇒ String
Optional. The name of the region.
Corresponds to the JSON property region
8024 8025 8026 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8024 def region @region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8031 8032 8033 |
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 8031 def update!(**args) @region = args[:region] if args.key?(:region) end |