class Google::Apis::OsconfigV1beta::AssignmentGroupLabel

Represents a group of VM intances that can be identified as having all these labels, for example “env=prod and app=web”.

Attributes

labels[RW]

Google Compute Engine instance labels that must be present for an instance to be included in this assignment group. Corresponds to the JSON property `labels` @return [Hash<String,String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/osconfig_v1beta/classes.rb, line 176
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/osconfig_v1beta/classes.rb, line 181
def update!(**args)
  @labels = args[:labels] if args.key?(:labels)
end