Class: Google::Apis::MigrationcenterV1::ReportConfigGroupPreferenceSetAssignment
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::ReportConfigGroupPreferenceSetAssignment
- 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
-
#group ⇒ String
Required.
-
#preference_set ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportConfigGroupPreferenceSetAssignment
constructor
A new instance of ReportConfigGroupPreferenceSetAssignment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportConfigGroupPreferenceSetAssignment
Returns a new instance of ReportConfigGroupPreferenceSetAssignment.
4666 4667 4668 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4666 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group ⇒ String
Required. Name of the group.
Corresponds to the JSON property group
4659 4660 4661 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4659 def group @group end |
#preference_set ⇒ String
Required. Name of the Preference Set.
Corresponds to the JSON property preferenceSet
4664 4665 4666 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4664 def preference_set @preference_set end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4671 4672 4673 4674 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4671 def update!(**args) @group = args[:group] if args.key?(:group) @preference_set = args[:preference_set] if args.key?(:preference_set) end |