Class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceFlags
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainResourceFlags
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1/classes.rb,
lib/google/apis/alloydb_v1/representations.rb,
lib/google/apis/alloydb_v1/representations.rb
Overview
Disable validation warnings
Instance Attribute Summary collapse
-
#key ⇒ String
Optional.
-
#value ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainResourceFlags
constructor
A new instance of StorageDatabasecenterPartnerapiV1mainResourceFlags.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainResourceFlags
Returns a new instance of StorageDatabasecenterPartnerapiV1mainResourceFlags.
4573 4574 4575 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4573 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Optional. Disable validation warnings
Corresponds to the JSON property key
4566 4567 4568 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4566 def key @key end |
#value ⇒ String
Optional. Disable validation warnings
Corresponds to the JSON property value
4571 4572 4573 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4571 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4578 4579 4580 4581 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 4578 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |