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.



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

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


741
742
743
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 741

def extensions
  @extensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



748
749
750
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 748

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