class Google::Gax::BundleDescriptor
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.
Public Class Methods
new(bundled_field, request_discriminator_fields, subresponse_field: nil)
click to toggle source
@return [String] the repeated field in the request message that will have its elements aggregated by bundling.
@!attribute request_discriminator_fields
@return [Array<String>] a list of fields in the target request message class that are used to determine which messages should be bundled together.
@!attribute subresponse_field
@return [String] an optional field, when present it indicates the field in the response message that should be used to demultiplex the response into multiple response messages.
Calls superclass method
# File lib/google/gax/settings.rb, line 260 def initialize(bundled_field, request_discriminator_fields, subresponse_field: nil) super(bundled_field, request_discriminator_fields, subresponse_field) end