Class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels
- 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
Message type for storing user labels. User labels are used to tag App Engine resources, allowing users to search for resources matching a set of labels and to aggregate usage data by labels.
Instance Attribute Summary collapse
-
#labels ⇒ Hash<String,String>
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.
2672 2673 2674 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 2672 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Hash<String,String>
Corresponds to the JSON property labels
2670 2671 2672 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 2670 def labels @labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2677 2678 2679 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 2677 def update!(**args) @labels = args[:labels] if args.key?(:labels) end |