Class: Google::Apis::MigrationcenterV1::ReportConfigGroupPreferenceSetAssignment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1/classes.rb,
lib/google/apis/migrationcenter_v1/representations.rb,
lib/google/apis/migrationcenter_v1/representations.rb

Overview

Represents a combination of a group with a preference set.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportConfigGroupPreferenceSetAssignment

Returns a new instance of ReportConfigGroupPreferenceSetAssignment.



3788
3789
3790
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3788

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#groupString

Required. Name of the group. Corresponds to the JSON property group

Returns:

  • (String)


3781
3782
3783
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3781

def group
  @group
end

#preference_setString

Required. Name of the Preference Set. Corresponds to the JSON property preferenceSet

Returns:

  • (String)


3786
3787
3788
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3786

def preference_set
  @preference_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3793
3794
3795
3796
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3793

def update!(**args)
  @group = args[:group] if args.key?(:group)
  @preference_set = args[:preference_set] if args.key?(:preference_set)
end