Class: Google::Apis::MigrationcenterV1alpha1::Report

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/migrationcenter_v1alpha1/classes.rb,
lib/google/apis/migrationcenter_v1alpha1/representations.rb,
lib/google/apis/migrationcenter_v1alpha1/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.



5668
5669
5670
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5668

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

Instance Attribute Details

#create_timeString

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

Returns:

  • (String)


5630
5631
5632
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5630

def create_time
  @create_time
end

#descriptionString

Free-text description. Corresponds to the JSON property description

Returns:

  • (String)


5635
5636
5637
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5635

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


5640
5641
5642
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5640

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


5645
5646
5647
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5645

def name
  @name
end

#stateString

Report creation state. Corresponds to the JSON property state

Returns:

  • (String)


5650
5651
5652
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5650

def state
  @state
end

#summaryGoogle::Apis::MigrationcenterV1alpha1::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



5656
5657
5658
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5656

def summary
  @summary
end

#typeString

Report type. Corresponds to the JSON property type

Returns:

  • (String)


5661
5662
5663
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5661

def type
  @type
end

#update_timeString

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

Returns:

  • (String)


5666
5667
5668
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5666

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
# File 'lib/google/apis/migrationcenter_v1alpha1/classes.rb', line 5673

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