Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ReportJob

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

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1alpha1ReportJob

Returns a new instance of GoogleCloudChannelV1alpha1ReportJob.



4315
4316
4317
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4315

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

Instance Attribute Details

#nameString

Required. The resource name of a report job. Name uses the format: accounts/ account_id/reportJobs/report_job_id` Corresponds to the JSON propertyname`

Returns:

  • (String)


4308
4309
4310
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4308

def name
  @name
end

#report_statusGoogle::Apis::CloudchannelV1::GoogleCloudChannelV1alpha1ReportStatus

Status of a report generation process. Corresponds to the JSON property reportStatus



4313
4314
4315
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4313

def report_status
  @report_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4320
4321
4322
4323
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 4320

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @report_status = args[:report_status] if args.key?(:report_status)
end