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.



806
807
808
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 806

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


804
805
806
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 804

def extensions
  @extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



811
812
813
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 811

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