Class: Google::Apis::GameservicesV1::LabelSelector
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::LabelSelector
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gameservices_v1/classes.rb,
lib/google/apis/gameservices_v1/representations.rb,
lib/google/apis/gameservices_v1/representations.rb
Overview
The label selector, used to group labels on the resources.
Instance Attribute Summary collapse
-
#labels ⇒ Hash<String,String>
Resource labels for this selector.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LabelSelector
constructor
A new instance of LabelSelector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LabelSelector
Returns a new instance of LabelSelector.
1039 1040 1041 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1039 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Hash<String,String>
Resource labels for this selector.
Corresponds to the JSON property labels
1037 1038 1039 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1037 def labels @labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1044 1045 1046 |
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1044 def update!(**args) @labels = args[:labels] if args.key?(:labels) end |