Class: Google::Apis::ServicecontrolV2::ReportResponse

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

Overview

Response message for the Report method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportResponse

Returns a new instance of ReportResponse.



746
747
748
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 746

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

Instance Attribute Details

#extensionsHash<String,Object>

The extension field to store serialized OTel responses. e.g. ExportLogsServiceResponse, ExportMetricsServiceResponse. Corresponds to the JSON property extensions

Returns:

  • (Hash<String,Object>)


744
745
746
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 744

def extensions
  @extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



751
752
753
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 751

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