Class: Google::Apis::MigrationcenterV1::ReportConfig

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

The groups and associated preference sets on which we can generate reports.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportConfig

Returns a new instance of ReportConfig.



5190
5191
5192
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5190

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

Instance Attribute Details

#create_timeString

Output only. The timestamp when the resource was created. Corresponds to the JSON property createTime

Returns:

  • (String)


5163
5164
5165
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5163

def create_time
  @create_time
end

#descriptionString

Free-text description. Corresponds to the JSON property description

Returns:

  • (String)


5168
5169
5170
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5168

def description
  @description
end

#display_nameString

User-friendly display name. Maximum length is 63 characters. Corresponds to the JSON property displayName

Returns:

  • (String)


5173
5174
5175
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5173

def display_name
  @display_name
end

#group_preferenceset_assignmentsArray<Google::Apis::MigrationcenterV1::ReportConfigGroupPreferenceSetAssignment>

Required. Collection of combinations of groups and preference sets. Corresponds to the JSON property groupPreferencesetAssignments



5178
5179
5180
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5178

def group_preferenceset_assignments
  @group_preferenceset_assignments
end

#nameString

Output only. Name of resource. Corresponds to the JSON property name

Returns:

  • (String)


5183
5184
5185
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5183

def name
  @name
end

#update_timeString

Output only. The timestamp when the resource was last updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


5188
5189
5190
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5188

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5195
5196
5197
5198
5199
5200
5201
5202
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 5195

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