Service Control API V1 API - Class Google::Cloud::ServiceControl::V1::ReportRequest (v0.6.0)

Reference documentation and code samples for the Service Control API V1 API class Google::Cloud::ServiceControl::V1::ReportRequest.

Request message for the Report method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#operations

def operations() -> ::Array<::Google::Cloud::ServiceControl::V1::Operation>
Returns
  • (::Array<::Google::Cloud::ServiceControl::V1::Operation>) — 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.

#operations=

def operations=(value) -> ::Array<::Google::Cloud::ServiceControl::V1::Operation>
Parameter
  • value (::Array<::Google::Cloud::ServiceControl::V1::Operation>) — 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.

Returns
  • (::Array<::Google::Cloud::ServiceControl::V1::Operation>) — 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.

#service_config_id

def service_config_id() -> ::String
Returns
  • (::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.

#service_config_id=

def service_config_id=(value) -> ::String
Parameter
  • value (::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.

Returns
  • (::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.

#service_name

def service_name() -> ::String
Returns
  • (::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.

#service_name=

def service_name=(value) -> ::String
Parameter
  • value (::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.

Returns
  • (::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.