Class: Google::Apis::WorkloadmanagerV1::SpannerLocation
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::SpannerLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Instance Attribute Summary collapse
-
#db_name ⇒ Array<String>
Corresponds to the JSON property
dbName.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpannerLocation
constructor
A new instance of SpannerLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpannerLocation
Returns a new instance of SpannerLocation.
1818 1819 1820 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1818 def initialize(**args) update!(**args) end |
Instance Attribute Details
#db_name ⇒ Array<String>
Corresponds to the JSON property dbName
1816 1817 1818 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1816 def db_name @db_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1823 1824 1825 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1823 def update!(**args) @db_name = args[:db_name] if args.key?(:db_name) end |