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.



3752
3753
3754
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3752

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


3714
3715
3716
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3714

def create_time
  @create_time
end

#descriptionString

Free-text description. Corresponds to the JSON property description

Returns:

  • (String)


3719
3720
3721
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3719

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


3724
3725
3726
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3724

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


3729
3730
3731
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3729

def name
  @name
end

#stateString

Report creation state. Corresponds to the JSON property state

Returns:

  • (String)


3734
3735
3736
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3734

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



3740
3741
3742
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3740

def summary
  @summary
end

#typeString

Report type. Corresponds to the JSON property type

Returns:

  • (String)


3745
3746
3747
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3745

def type
  @type
end

#update_timeString

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

Returns:

  • (String)


3750
3751
3752
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3750

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
# File 'lib/google/apis/migrationcenter_v1/classes.rb', line 3757

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