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.



823
824
825
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 823

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>)


821
822
823
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 821

def extensions
  @extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



828
829
830
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 828

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