Class: Google::Apis::MigrationcenterV1::Report

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

Report represents a point-in-time rendering of the ReportConfig results.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Report

Returns a new instance of Report.



4573
4574
4575
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4573

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

Instance Attribute Details

#create_timeString

Output only. Creation timestamp. Corresponds to the JSON property createTime

Returns:

  • (String)


4535
4536
4537
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4535

def create_time
  @create_time
end

#descriptionString

Free-text description. Corresponds to the JSON property description

Returns:

  • (String)


4540
4541
4542
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4540

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


4545
4546
4547
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4545

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


4550
4551
4552
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4550

def name
  @name
end

#stateString

Report creation state. Corresponds to the JSON property state

Returns:

  • (String)


4555
4556
4557
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4555

def state
  @state
end

#summaryGoogle::Apis::MigrationcenterV1::ReportSummary

Describes the Summary view of a Report, which contains aggregated values for all the groups and preference sets included in this Report. Corresponds to the JSON property summary



4561
4562
4563
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4561

def summary
  @summary
end

#typeString

Report type. Corresponds to the JSON property type

Returns:

  • (String)


4566
4567
4568
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4566

def type
  @type
end

#update_timeString

Output only. Last update timestamp. Corresponds to the JSON property updateTime

Returns:

  • (String)


4571
4572
4573
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4571

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 4578

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)
  @name = args[:name] if args.key?(:name)
  @state = args[:state] if args.key?(:state)
  @summary = args[:summary] if args.key?(:summary)
  @type = args[:type] if args.key?(:type)
  @update_time = args[:update_time] if args.key?(:update_time)
end