Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportStatus

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb

Overview

Status of a report generation process.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1ReportStatus

Returns a new instance of GoogleCloudChannelV1ReportStatus.



2949
2950
2951
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2949

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

Instance Attribute Details

#end_timeString

The report generation's completion time. Corresponds to the JSON property endTime

Returns:

  • (String)


2937
2938
2939
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2937

def end_time
  @end_time
end

#start_timeString

The report generation's start time. Corresponds to the JSON property startTime

Returns:

  • (String)


2942
2943
2944
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2942

def start_time
  @start_time
end

#stateString

The current state of the report generation process. Corresponds to the JSON property state

Returns:

  • (String)


2947
2948
2949
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2947

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2954
2955
2956
2957
2958
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2954

def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @start_time = args[:start_time] if args.key?(:start_time)
  @state = args[:state] if args.key?(:state)
end