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.
1948 1949 1950 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1948 def initialize(**args) update!(**args) end |
Instance Attribute Details
#db_name ⇒ Array<String>
Corresponds to the JSON property dbName
1946 1947 1948 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1946 def db_name @db_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1953 1954 1955 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1953 def update!(**args) @db_name = args[:db_name] if args.key?(:db_name) end |