Batch V1 API - Class Google::Api::MethodSettings (v0.4.3)

Reference documentation and code samples for the Batch V1 API class Google::Api::MethodSettings.

Describes the generator configuration for a method.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#long_running

deflong_running()->::Google::Api::MethodSettings::LongRunning
Returns
  • (::Google::Api::MethodSettings::LongRunning) — Describes settings to use for long-running operations when generatingAPI methods for RPCs. Complements RPCs that use the annotations ingoogle/longrunning/operations.proto.

    Example of a YAML configuration::

    publishing: method_behavior: - selector: CreateAdDomain long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes

#long_running=

deflong_running=(value)->::Google::Api::MethodSettings::LongRunning
Parameter
  • value (::Google::Api::MethodSettings::LongRunning) — Describes settings to use for long-running operations when generatingAPI methods for RPCs. Complements RPCs that use the annotations ingoogle/longrunning/operations.proto.

    Example of a YAML configuration::

    publishing: method_behavior: - selector: CreateAdDomain long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes

Returns
  • (::Google::Api::MethodSettings::LongRunning) — Describes settings to use for long-running operations when generatingAPI methods for RPCs. Complements RPCs that use the annotations ingoogle/longrunning/operations.proto.

    Example of a YAML configuration::

    publishing: method_behavior: - selector: CreateAdDomain long_running: initial_poll_delay: seconds: 60 # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: seconds: 360 # 6 minutes total_poll_timeout: seconds: 54000 # 90 minutes

#selector

defselector()->::String
Returns
  • (::String) — The fully qualified name of the method, for which the options below apply.This is used to find the method to apply the options.

#selector=

defselector=(value)->::String
Parameter
  • value (::String) — The fully qualified name of the method, for which the options below apply.This is used to find the method to apply the options.
Returns
  • (::String) — The fully qualified name of the method, for which the options below apply.This is used to find the method to apply the options.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-20 UTC.