Class: Google::Apis::ServicecontrolV2::ReportRequest

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

Overview

Request message for the Report method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportRequest

Returns a new instance of ReportRequest.



624
625
626
# File 'generated/google/apis/servicecontrol_v2/classes.rb', line 624

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

Instance Attribute Details

#operationsArray<Google::Apis::ServicecontrolV2::AttributeContext>

Describes the list of operations to be reported. Each operation is represented as an AttributeContext, and contains all attributes around an API access. Corresponds to the JSON property operations



615
616
617
# File 'generated/google/apis/servicecontrol_v2/classes.rb', line 615

def operations
  @operations
end

#service_config_idString

Specifies the version of the service configuration that should be used to process the request. Must not be empty. Set this field to 'latest' to specify using the latest configuration. Corresponds to the JSON property serviceConfigId

Returns:

  • (String)


622
623
624
# File 'generated/google/apis/servicecontrol_v2/classes.rb', line 622

def service_config_id
  @service_config_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



629
630
631
632
# File 'generated/google/apis/servicecontrol_v2/classes.rb', line 629

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