Class: Google::Apis::PrivatecaV1beta1::GoogleApiServicecontrolV1ReportRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/privateca_v1beta1/classes.rb,
lib/google/apis/privateca_v1beta1/representations.rb,
lib/google/apis/privateca_v1beta1/representations.rb

Overview

Request message for the Report method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleApiServicecontrolV1ReportRequest

Returns a new instance of GoogleApiServicecontrolV1ReportRequest.



1948
1949
1950
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1948

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

Instance Attribute Details

#operationsArray<Google::Apis::PrivatecaV1beta1::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



1931
1932
1933
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1931

def operations
  @operations
end

#service_config_idString

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

Returns:

  • (String)


1938
1939
1940
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1938

def service_config_id
  @service_config_id
end

#service_nameString

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

Returns:

  • (String)


1946
1947
1948
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1946

def service_name
  @service_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1953
1954
1955
1956
1957
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 1953

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