View Source GoogleApi.ServiceUsage.V1.Model.MethodSettings (google_api_service_usage v0.19.0)

Describes the generator configuration for a method.

Attributes

  • autoPopulatedFields (type: list(String.t), default: nil) - 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. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.CreateExample auto_populated_fields: - request_id
  • longRunning (type: GoogleApi.ServiceUsage.V1.Model.LongRunning.t, default: nil) - 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. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize 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 (type: String.t, default: nil) - The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ServiceUsage.V1.Model.MethodSettings{
  autoPopulatedFields: [String.t()] | nil,
  longRunning: GoogleApi.ServiceUsage.V1.Model.LongRunning.t() | nil,
  selector: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.