Class: Google::Gax::BundleDescriptor

Inherits:
Struct
  • Object
show all
Defined in:
lib/google/gax.rb

Overview

Describes the structure of bundled call.

request_discriminator_fields may include ‘.’ as a separator, which is used to indicate object traversal. This allows fields in nested objects to be used to determine what requests to bundle.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bundled_field, request_discriminator_fields, subresponse_field: nil) ⇒ BundleDescriptor



223
224
225
226
# File 'lib/google/gax.rb', line 223

def initialize(bundled_field, request_discriminator_fields,
               subresponse_field: nil)
  super(bundled_field, request_discriminator_fields, subresponse_field)
end

Instance Attribute Details

#bundled_fieldString



207
208
209
# File 'lib/google/gax.rb', line 207

def bundled_field
  @bundled_field
end

#request_discriminator_fieldsArray<String>



207
208
209
# File 'lib/google/gax.rb', line 207

def request_discriminator_fields
  @request_discriminator_fields
end

#subresponse_fieldString



207
208
209
# File 'lib/google/gax.rb', line 207

def subresponse_field
  @subresponse_field
end