Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceFlags
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainResourceFlags
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/representations.rb
Overview
Message type for storing resource flags.
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.
5050 5051 5052 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5050 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Optional. Key of the resource flag.
Corresponds to the JSON property key
5043 5044 5045 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5043 def key @key end |
#value ⇒ String
Optional. Value of the resource flag.
Corresponds to the JSON property value
5048 5049 5050 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5048 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5055 5056 5057 5058 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5055 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |