Class: Google::Apis::MigrationcenterV1::ReportConfig
- Inherits:
-
Object
- Object
- Google::Apis::MigrationcenterV1::ReportConfig
- 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
The groups and associated preference sets on which we can generate reports.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Output only.
-
#description ⇒ String
Free-text description.
-
#display_name ⇒ String
User-friendly display name.
-
#group_preferenceset_assignments ⇒ Array<Google::Apis::MigrationcenterV1::ReportConfigGroupPreferenceSetAssignment>
Required.
-
#name ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportConfig
constructor
A new instance of ReportConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ReportConfig
Returns a new instance of ReportConfig.
3815 3816 3817 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3815 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The timestamp when the resource was created.
Corresponds to the JSON property createTime
3788 3789 3790 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3788 def create_time @create_time end |
#description ⇒ String
Free-text description.
Corresponds to the JSON property description
3793 3794 3795 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3793 def description @description end |
#display_name ⇒ String
User-friendly display name. Maximum length is 63 characters.
Corresponds to the JSON property displayName
3798 3799 3800 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3798 def display_name @display_name end |
#group_preferenceset_assignments ⇒ Array<Google::Apis::MigrationcenterV1::ReportConfigGroupPreferenceSetAssignment>
Required. Collection of combinations of groups and preference sets.
Corresponds to the JSON property groupPreferencesetAssignments
3803 3804 3805 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3803 def group_preferenceset_assignments @group_preferenceset_assignments end |
#name ⇒ String
Output only. Name of resource.
Corresponds to the JSON property name
3808 3809 3810 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3808 def name @name end |
#update_time ⇒ String
Output only. The timestamp when the resource was last updated.
Corresponds to the JSON property updateTime
3813 3814 3815 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3813 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3820 3821 3822 3823 3824 3825 3826 3827 |
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3820 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) @display_name = args[:display_name] if args.key?(:display_name) @group_preferenceset_assignments = args[:group_preferenceset_assignments] if args.key?(:group_preferenceset_assignments) @name = args[:name] if args.key?(:name) @update_time = args[:update_time] if args.key?(:update_time) end |