Show / Hide Table of Contents

Class MethodSettings

Describes the generator configuration for a method.

Inheritance
object
MethodSettings
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.ServiceConsumerManagement.v1beta1.Data
Assembly: Google.Apis.ServiceConsumerManagement.v1beta1.dll
Syntax
public class MethodSettings : IDirectResponseSchema

Properties

AutoPopulatedFields

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

Declaration
[JsonProperty("autoPopulatedFields")]
public virtual IList<string> AutoPopulatedFields { get; set; }
Property Value
Type Description
IList<string>

Batching

Batching configuration for an API method in client libraries. Example of a YAML configuration: publishing: method_settings: - selector: google.example.v1.ExampleService.BatchCreateExample batching: element_count_threshold: 1000 request_byte_threshold: 100000000 delay_threshold_millis: 10

Declaration
[JsonProperty("batching")]
public virtual BatchingConfigProto Batching { get; set; }
Property Value
Type Description
BatchingConfigProto

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

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. Example of a YAML configuration:: publishing: method_settings: - selector: google.cloud.speech.v2.Speech.BatchRecognize long_running: initial_poll_delay: 60s # 1 minute poll_delay_multiplier: 1.5 max_poll_delay: 360s # 6 minutes total_poll_timeout: 54000s # 90 minutes

Declaration
[JsonProperty("longRunning")]
public virtual LongRunning LongRunning { get; set; }
Property Value
Type Description
LongRunning

Selector

The fully qualified name of the method, for which the options below apply. This is used to find the method to apply the options. Example: publishing: method_settings: - selector: google.storage.control.v2.StorageControl.CreateFolder # method settings for CreateFolder...

Declaration
[JsonProperty("selector")]
public virtual string Selector { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX