Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels
- 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
Disable validation warnings
Instance Attribute Summary collapse
-
#labels ⇒ Hash<String,String>
Disable validation warnings Corresponds to the JSON property
labels.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainUserLabels
constructor
A new instance of StorageDatabasecenterPartnerapiV1mainUserLabels.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainUserLabels
Returns a new instance of StorageDatabasecenterPartnerapiV1mainUserLabels.
5363 5364 5365 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5363 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Hash<String,String>
Disable validation warnings
Corresponds to the JSON property labels
5361 5362 5363 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5361 def labels @labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5368 5369 5370 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 5368 def update!(**args) @labels = args[:labels] if args.key?(:labels) end |