Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ReportStatus

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) ⇒ GoogleCloudChannelV1alpha1ReportStatus

Returns a new instance of GoogleCloudChannelV1alpha1ReportStatus.



4411
4412
4413
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4411

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)


4399
4400
4401
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4399

def end_time
  @end_time
end

#start_timeString

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

Returns:

  • (String)


4404
4405
4406
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4404

def start_time
  @start_time
end

#stateString

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

Returns:

  • (String)


4409
4410
4411
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4409

def state
  @state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4416
4417
4418
4419
4420
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4416

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