Class: Google::Apis::FileV1::ReportRequest
- Inherits:
-
Object
- Object
- Google::Apis::FileV1::ReportRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/file_v1/classes.rb,
generated/google/apis/file_v1/representations.rb,
generated/google/apis/file_v1/representations.rb
Overview
Request message for the Report method.
Instance Attribute Summary collapse
-
#operations ⇒ Array<Google::Apis::FileV1::GoogleApiServicecontrolV1Operation>
Operations to be reported.
-
#service_config_id ⇒ String
Specifies which version of service config should be used to process the request.
-
#service_name ⇒ String
The service name as specified in its service configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReportRequest
constructor
A new instance of ReportRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReportRequest
Returns a new instance of ReportRequest.
1801 1802 1803 |
# File 'generated/google/apis/file_v1/classes.rb', line 1801 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operations ⇒ Array<Google::Apis::FileV1::GoogleApiServicecontrolV1Operation>
Operations to be reported.
Typically the service should report one operation per request.
Putting multiple operations into a single request is allowed, but should
be used only when multiple operations are natually available at the time
of the report.
There is no limit on the number of operations in the same ReportRequest,
however the ReportRequest size should be no larger than 1MB. See
ReportResponse.report_errors for partial failure behavior.
Corresponds to the JSON property operations
1781 1782 1783 |
# File 'generated/google/apis/file_v1/classes.rb', line 1781 def operations @operations end |
#service_config_id ⇒ String
Specifies which version of service config should be used to process the
request.
If unspecified or no matching version can be found, the
latest one will be used.
Corresponds to the JSON property serviceConfigId
1789 1790 1791 |
# File 'generated/google/apis/file_v1/classes.rb', line 1789 def service_config_id @service_config_id end |
#service_name ⇒ String
The service name as specified in its service configuration. For example,
"pubsub.googleapis.com"
.
See
google.api.Service
for the definition of a service name.
Corresponds to the JSON property serviceName
1799 1800 1801 |
# File 'generated/google/apis/file_v1/classes.rb', line 1799 def service_name @service_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1806 1807 1808 1809 1810 |
# File 'generated/google/apis/file_v1/classes.rb', line 1806 def update!(**args) @operations = args[:operations] if args.key?(:operations) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) @service_name = args[:service_name] if args.key?(:service_name) end |