Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportJob
- Inherits:
-
Object
- Object
- Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportJob
- 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
The result of a RunReportJob operation. Contains the name to use in FetchReportResultsRequest.report_job and the status of the operation.
Instance Attribute Summary collapse
-
#name ⇒ String
Required.
-
#report_status ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportStatus
Status of a report generation process.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudChannelV1ReportJob
constructor
A new instance of GoogleCloudChannelV1ReportJob.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudChannelV1ReportJob
Returns a new instance of GoogleCloudChannelV1ReportJob.
2839 2840 2841 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2839 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. The resource name of a report job. Name uses the format: accounts/
account_id/reportJobs/
report_job_id`
Corresponds to the JSON property
name`
2832 2833 2834 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2832 def name @name end |
#report_status ⇒ Google::Apis::CloudchannelV1::GoogleCloudChannelV1ReportStatus
Status of a report generation process.
Corresponds to the JSON property reportStatus
2837 2838 2839 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2837 def report_status @report_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2844 2845 2846 2847 |
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 2844 def update!(**args) @name = args[:name] if args.key?(:name) @report_status = args[:report_status] if args.key?(:report_status) end |