Reference documentation and code samples for the Google Cloud Deploy 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
#auto_populated_fields
defauto_populated_fields()->::Array<::String>
Returns
(::Array<::String>) — List of top-level fields of the request message, that should be
automatically populated by the client libraries based on their
(google.api.field_info).format. Currently supported format: UUID4.
value (::Array<::String>) — List of top-level fields of the request message, that should be
automatically populated by the client libraries based on their
(google.api.field_info).format. Currently supported format: UUID4.
(::Array<::String>) — List of top-level fields of the request message, that should be
automatically populated by the client libraries based on their
(google.api.field_info).format. Currently supported format: UUID4.
(::Google::Api::MethodSettings::LongRunning) — Describes settings to use for long-running operations when generating
API methods for RPCs. Complements RPCs that use the annotations in
google/longrunning/operations.proto.
value (::Google::Api::MethodSettings::LongRunning) — Describes settings to use for long-running operations when generating
API methods for RPCs. Complements RPCs that use the annotations in
google/longrunning/operations.proto.
(::Google::Api::MethodSettings::LongRunning) — Describes settings to use for long-running operations when generating
API methods for RPCs. Complements RPCs that use the annotations in
google/longrunning/operations.proto.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Google Cloud Deploy V1 API - Class Google::Api::MethodSettings (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-deploy-v1/latest/Google-Api-MethodSettings)\n- [2.1.1](/ruby/docs/reference/google-cloud-deploy-v1/2.1.1/Google-Api-MethodSettings)\n- [2.0.2](/ruby/docs/reference/google-cloud-deploy-v1/2.0.2/Google-Api-MethodSettings)\n- [1.6.0](/ruby/docs/reference/google-cloud-deploy-v1/1.6.0/Google-Api-MethodSettings)\n- [1.5.0](/ruby/docs/reference/google-cloud-deploy-v1/1.5.0/Google-Api-MethodSettings)\n- [1.4.0](/ruby/docs/reference/google-cloud-deploy-v1/1.4.0/Google-Api-MethodSettings)\n- [1.3.0](/ruby/docs/reference/google-cloud-deploy-v1/1.3.0/Google-Api-MethodSettings)\n- [1.2.2](/ruby/docs/reference/google-cloud-deploy-v1/1.2.2/Google-Api-MethodSettings)\n- [1.1.0](/ruby/docs/reference/google-cloud-deploy-v1/1.1.0/Google-Api-MethodSettings)\n- [1.0.0](/ruby/docs/reference/google-cloud-deploy-v1/1.0.0/Google-Api-MethodSettings)\n- [0.20.0](/ruby/docs/reference/google-cloud-deploy-v1/0.20.0/Google-Api-MethodSettings)\n- [0.19.1](/ruby/docs/reference/google-cloud-deploy-v1/0.19.1/Google-Api-MethodSettings)\n- [0.18.0](/ruby/docs/reference/google-cloud-deploy-v1/0.18.0/Google-Api-MethodSettings)\n- [0.17.2](/ruby/docs/reference/google-cloud-deploy-v1/0.17.2/Google-Api-MethodSettings)\n- [0.16.0](/ruby/docs/reference/google-cloud-deploy-v1/0.16.0/Google-Api-MethodSettings)\n- [0.15.0](/ruby/docs/reference/google-cloud-deploy-v1/0.15.0/Google-Api-MethodSettings)\n- [0.14.0](/ruby/docs/reference/google-cloud-deploy-v1/0.14.0/Google-Api-MethodSettings)\n- [0.13.0](/ruby/docs/reference/google-cloud-deploy-v1/0.13.0/Google-Api-MethodSettings)\n- [0.12.0](/ruby/docs/reference/google-cloud-deploy-v1/0.12.0/Google-Api-MethodSettings)\n- [0.11.0](/ruby/docs/reference/google-cloud-deploy-v1/0.11.0/Google-Api-MethodSettings)\n- [0.10.0](/ruby/docs/reference/google-cloud-deploy-v1/0.10.0/Google-Api-MethodSettings)\n- [0.9.0](/ruby/docs/reference/google-cloud-deploy-v1/0.9.0/Google-Api-MethodSettings)\n- [0.8.0](/ruby/docs/reference/google-cloud-deploy-v1/0.8.0/Google-Api-MethodSettings)\n- [0.7.0](/ruby/docs/reference/google-cloud-deploy-v1/0.7.0/Google-Api-MethodSettings)\n- [0.6.0](/ruby/docs/reference/google-cloud-deploy-v1/0.6.0/Google-Api-MethodSettings)\n- [0.5.0](/ruby/docs/reference/google-cloud-deploy-v1/0.5.0/Google-Api-MethodSettings)\n- [0.4.0](/ruby/docs/reference/google-cloud-deploy-v1/0.4.0/Google-Api-MethodSettings)\n- [0.3.0](/ruby/docs/reference/google-cloud-deploy-v1/0.3.0/Google-Api-MethodSettings)\n- [0.2.0](/ruby/docs/reference/google-cloud-deploy-v1/0.2.0/Google-Api-MethodSettings)\n- [0.1.3](/ruby/docs/reference/google-cloud-deploy-v1/0.1.3/Google-Api-MethodSettings) \nReference documentation and code samples for the Google Cloud Deploy V1 API class Google::Api::MethodSettings.\n\nDescribes the generator configuration for a method. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #auto_populated_fields\n\n def auto_populated_fields() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4.\n\n Example of a YAML configuration:\n\n publishing:\n method_settings:\n - selector: google.example.v1.ExampleService.CreateExample\n auto_populated_fields:\n - request_id\n\n### #auto_populated_fields=\n\n def auto_populated_fields=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4.\n\n\n Example of a YAML configuration:\n\n publishing:\n method_settings:\n - selector: google.example.v1.ExampleService.CreateExample\n auto_populated_fields:\n- request_id \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- List of top-level fields of the request message, that should be automatically populated by the client libraries based on their (google.api.field_info).format. Currently supported format: UUID4.\n\n Example of a YAML configuration:\n\n publishing:\n method_settings:\n - selector: google.example.v1.ExampleService.CreateExample\n auto_populated_fields:\n - request_id\n\n### #long_running\n\n def long_running() -\u003e ::Google::Api::MethodSettings::LongRunning\n\n**Returns**\n\n- ([::Google::Api::MethodSettings::LongRunning](./Google-Api-MethodSettings-LongRunning)) --- Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto.\n\n\n Example of a YAML configuration::\n\n publishing:\n method_settings:\n - selector: google.cloud.speech.v2.Speech.BatchRecognize\n long_running:\n initial_poll_delay: 60s # 1 minute\n poll_delay_multiplier: 1.5\n max_poll_delay: 360s # 6 minutes\n total_poll_timeout: 54000s # 90 minutes\n\n### #long_running=\n\n def long_running=(value) -\u003e ::Google::Api::MethodSettings::LongRunning\n\n**Parameter**\n\n- **value** ([::Google::Api::MethodSettings::LongRunning](./Google-Api-MethodSettings-LongRunning)) --- Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto.\n\n\n Example of a YAML configuration::\n\n publishing:\n method_settings:\n - selector: google.cloud.speech.v2.Speech.BatchRecognize\n long_running:\n initial_poll_delay: 60s # 1 minute\n poll_delay_multiplier: 1.5\n max_poll_delay: 360s # 6 minutes\ntotal_poll_timeout: 54000s # 90 minutes \n**Returns**\n\n- ([::Google::Api::MethodSettings::LongRunning](./Google-Api-MethodSettings-LongRunning)) --- Describes settings to use for long-running operations when generating API methods for RPCs. Complements RPCs that use the annotations in google/longrunning/operations.proto.\n\n\n Example of a YAML configuration::\n\n publishing:\n method_settings:\n - selector: google.cloud.speech.v2.Speech.BatchRecognize\n long_running:\n initial_poll_delay: 60s # 1 minute\n poll_delay_multiplier: 1.5\n max_poll_delay: 360s # 6 minutes\n total_poll_timeout: 54000s # 90 minutes\n\n### #selector\n\n def selector() -\u003e ::String\n\n**Returns**\n\n- (::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.\n\n Example:\n\n publishing:\n method_settings:\n - selector: google.storage.control.v2.StorageControl.CreateFolder\n # method settings for CreateFolder...\n\n### #selector=\n\n def selector=(value) -\u003e ::String\n\n**Parameter**\n\n- **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.\n\n\n Example:\n\n publishing:\n method_settings:\n - selector: google.storage.control.v2.StorageControl.CreateFolder\n# method settings for CreateFolder... \n**Returns**\n\n- (::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.\n\n Example:\n\n publishing:\n method_settings:\n - selector: google.storage.control.v2.StorageControl.CreateFolder\n # method settings for CreateFolder..."]]