Class: Google::Apis::GameservicesV1::LabelSelector
- Inherits:
-
Object
- Object
- Google::Apis::GameservicesV1::LabelSelector
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gameservices_v1/classes.rb,
generated/google/apis/gameservices_v1/representations.rb,
generated/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.
983 984 985 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 983 def initialize(**args) update!(**args) end |
Instance Attribute Details
#labels ⇒ Hash<String,String>
Resource labels for this selector.
Corresponds to the JSON property labels
981 982 983 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 981 def labels @labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
988 989 990 |
# File 'generated/google/apis/gameservices_v1/classes.rb', line 988 def update!(**args) @labels = args[:labels] if args.key?(:labels) end |