12579 lines
500 KiB
YAML
12579 lines
500 KiB
YAML
# TODO: Address all the TODOs in this auto-generated config before using it
|
|
# for client generation. Remove this paragraph after you closed all the
|
|
# TODOs. The retry_codes_name, required_fields, flattening, and timeout
|
|
# properties cannot be precisely decided by the tooling and may require some
|
|
# configuration.
|
|
type: com.google.api.codegen.ConfigProto
|
|
config_schema_version: 1.0.0
|
|
# The settings of generated code in a specific language.
|
|
language_settings:
|
|
java:
|
|
package_name: com.google.cloud.compute.v1
|
|
python:
|
|
package_name: com.google.compute_v1.gapic
|
|
go:
|
|
package_name: google.golang.org/com/google/compute/v1
|
|
csharp:
|
|
package_name: Com.Google.Compute.V1
|
|
ruby:
|
|
package_name: Com::Google::Compute::V1
|
|
php:
|
|
package_name: Com\Google\Compute\V1
|
|
nodejs:
|
|
package_name: compute.v1
|
|
# The configuration for the license header to put on generated files.
|
|
license_header:
|
|
# The file containing the copyright line(s).
|
|
copyright_file: copyright-google.txt
|
|
# The file containing the raw license header without any copyright line(s).
|
|
license_file: license-header-apache-2.0.txt
|
|
# A list of API interface configurations.
|
|
interfaces:
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.AcceleratorTypes
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/zones/{zone}
|
|
entity_name: projectZone
|
|
- name_pattern: projects/{project}/zones/{zone}/acceleratorTypes/{acceleratorType}
|
|
entity_name: projectZoneAcceleratorType
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.acceleratorTypes.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.acceleratorTypes.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- acceleratorType
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- acceleratorType
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
acceleratorType: projectZoneAcceleratorType
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.acceleratorTypes.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Addresses
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/addresses/{address}
|
|
entity_name: projectRegionAddress
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.addresses.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.addresses.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- address
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- address
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
address: projectRegionAddress
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.addresses.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- address
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- address
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
address: projectRegionAddress
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.addresses.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- region
|
|
- addressResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- region
|
|
- addressResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.addresses.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Autoscalers
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/zones/{zone}
|
|
entity_name: projectZone
|
|
- name_pattern: projects/{project}/zones/{zone}/autoscalers/{autoscaler}
|
|
entity_name: projectZoneAutoscaler
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.autoscalers.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.autoscalers.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- autoscaler
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- autoscaler
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
autoscaler: projectZoneAutoscaler
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.autoscalers.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- autoscaler
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- autoscaler
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
autoscaler: projectZoneAutoscaler
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.autoscalers.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
- requestId
|
|
- autoscalerResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
- requestId
|
|
- autoscalerResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.autoscalers.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.autoscalers.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- autoscaler
|
|
- zone
|
|
- requestId
|
|
- autoscalerResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- autoscaler
|
|
- zone
|
|
- requestId
|
|
- autoscalerResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.autoscalers.update
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- autoscaler
|
|
- zone
|
|
- requestId
|
|
- autoscalerResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- autoscaler
|
|
- zone
|
|
- requestId
|
|
- autoscalerResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.BackendBuckets
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/backendBuckets/{backendBucket}
|
|
entity_name: projectGlobalBackendBucket
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.backendBuckets.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- backendBucket
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- backendBucket
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendBucket: projectGlobalBackendBucket
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.backendBuckets.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- backendBucket
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- backendBucket
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendBucket: projectGlobalBackendBucket
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.backendBuckets.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- backendBucketResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- backendBucketResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.backendBuckets.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.backendBuckets.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- backendBucket
|
|
- requestId
|
|
- backendBucketResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- backendBucket
|
|
- requestId
|
|
- backendBucketResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendBucket: projectGlobalBackendBucket
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.backendBuckets.update
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- backendBucket
|
|
- requestId
|
|
- backendBucketResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- backendBucket
|
|
- requestId
|
|
- backendBucketResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendBucket: projectGlobalBackendBucket
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.BackendServices
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/backendServices/{backendService}
|
|
entity_name: projectGlobalBackendService
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.backendServices.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.backendServices.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- backendService
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- backendService
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendService: projectGlobalBackendService
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.backendServices.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- backendService
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- backendService
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendService: projectGlobalBackendService
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.backendServices.getHealth
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- backendService
|
|
- resourceGroupReferenceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- backendService
|
|
- resourceGroupReferenceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendService: projectGlobalBackendService
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.backendServices.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- backendServiceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- backendServiceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.backendServices.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.backendServices.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- backendService
|
|
- backendServiceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- backendService
|
|
- backendServiceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendService: projectGlobalBackendService
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.backendServices.update
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- backendService
|
|
- backendServiceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- backendService
|
|
- backendServiceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendService: projectGlobalBackendService
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.DiskTypes
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/zones/{zone}
|
|
entity_name: projectZone
|
|
- name_pattern: projects/{project}/zones/{zone}/diskTypes/{diskType}
|
|
entity_name: projectZoneDiskType
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.diskTypes.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.diskTypes.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- diskType
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- diskType
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
diskType: projectZoneDiskType
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.diskTypes.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Disks
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/zones/{zone}
|
|
entity_name: projectZone
|
|
- name_pattern: projects/{project}/zones/{zone}/disks/{disk}
|
|
entity_name: projectZoneDisk
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.disks.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.disks.createSnapshot
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- disk
|
|
- requestId
|
|
- guestFlush
|
|
- snapshotResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- disk
|
|
- requestId
|
|
- guestFlush
|
|
- snapshotResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
disk: projectZoneDisk
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.disks.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- disk
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- disk
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
disk: projectZoneDisk
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.disks.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- disk
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- disk
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
disk: projectZoneDisk
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.disks.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
- requestId
|
|
- sourceImage
|
|
- diskResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
- requestId
|
|
- sourceImage
|
|
- diskResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.disks.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.disks.resize
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- disk
|
|
- requestId
|
|
- disksResizeRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- disk
|
|
- requestId
|
|
- disksResizeRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
disk: projectZoneDisk
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.disks.setLabels
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- resource
|
|
- requestId
|
|
- zoneSetLabelsRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- resource
|
|
- requestId
|
|
- zoneSetLabelsRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
disk: projectZoneDisk
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Firewalls
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/firewalls/{firewall}
|
|
entity_name: projectGlobalFirewall
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.firewalls.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- firewall
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- firewall
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
firewall: projectGlobalFirewall
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.firewalls.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- firewall
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- firewall
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
firewall: projectGlobalFirewall
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.firewalls.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- firewallResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- firewallResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.firewalls.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.firewalls.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- firewall
|
|
- requestId
|
|
- firewallResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- firewall
|
|
- requestId
|
|
- firewallResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
firewall: projectGlobalFirewall
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.firewalls.update
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- firewall
|
|
- requestId
|
|
- firewallResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- firewall
|
|
- requestId
|
|
- firewallResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
firewall: projectGlobalFirewall
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.ForwardingRules
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/forwardingRules/{forwardingRule}
|
|
entity_name: projectRegionForwardingRule
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.forwardingRules.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.forwardingRules.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- forwardingRule
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- forwardingRule
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
forwardingRule: projectRegionForwardingRule
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.forwardingRules.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- forwardingRule
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- forwardingRule
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
forwardingRule: projectRegionForwardingRule
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.forwardingRules.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- region
|
|
- forwardingRuleResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- region
|
|
- forwardingRuleResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.forwardingRules.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.forwardingRules.setTarget
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- forwardingRule
|
|
- targetReferenceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- forwardingRule
|
|
- targetReferenceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
forwardingRule: projectRegionForwardingRule
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.GlobalAddresses
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/addresses/{address}
|
|
entity_name: projectGlobalAddress
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.globalAddresses.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- address
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- address
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
address: projectGlobalAddress
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.globalAddresses.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- address
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- address
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
address: projectGlobalAddress
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.globalAddresses.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- addressResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- addressResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.globalAddresses.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.GlobalForwardingRules
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/forwardingRules/{forwardingRule}
|
|
entity_name: projectGlobalForwardingRule
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.globalForwardingRules.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- forwardingRule
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- forwardingRule
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
forwardingRule: projectGlobalForwardingRule
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.globalForwardingRules.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- forwardingRule
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- forwardingRule
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
forwardingRule: projectGlobalForwardingRule
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.globalForwardingRules.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- forwardingRuleResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- forwardingRuleResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.globalForwardingRules.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.globalForwardingRules.setTarget
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- forwardingRule
|
|
- targetReferenceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- forwardingRule
|
|
- targetReferenceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
forwardingRule: projectGlobalForwardingRule
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.GlobalOperations
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/operations/{operation}
|
|
entity_name: projectGlobalOperation
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.globalOperations.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.globalOperations.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- operation
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- operation
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
operation: projectGlobalOperation
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.globalOperations.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- operation
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- operation
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
operation: projectGlobalOperation
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.globalOperations.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.HealthChecks
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/healthChecks/{healthCheck}
|
|
entity_name: projectGlobalHealthCheck
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.healthChecks.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- healthCheck
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- healthCheck
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
healthCheck: projectGlobalHealthCheck
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.healthChecks.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- healthCheck
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- healthCheck
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
healthCheck: projectGlobalHealthCheck
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.healthChecks.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- healthCheckResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- healthCheckResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.healthChecks.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.healthChecks.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- healthCheck
|
|
- healthCheckResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- healthCheck
|
|
- healthCheckResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
healthCheck: projectGlobalHealthCheck
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.healthChecks.update
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- healthCheck
|
|
- healthCheckResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- healthCheck
|
|
- healthCheckResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
healthCheck: projectGlobalHealthCheck
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.HttpHealthChecks
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/httpHealthChecks/{httpHealthCheck}
|
|
entity_name: projectGlobalHttpHealthCheck
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.httpHealthChecks.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- httpHealthCheck
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- httpHealthCheck
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
httpHealthCheck: projectGlobalHttpHealthCheck
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.httpHealthChecks.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- httpHealthCheck
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- httpHealthCheck
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
httpHealthCheck: projectGlobalHttpHealthCheck
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.httpHealthChecks.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- httpHealthCheckResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- httpHealthCheckResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.httpHealthChecks.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.httpHealthChecks.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- httpHealthCheck
|
|
- httpHealthCheckResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- httpHealthCheck
|
|
- httpHealthCheckResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
httpHealthCheck: projectGlobalHttpHealthCheck
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.httpHealthChecks.update
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- httpHealthCheck
|
|
- httpHealthCheckResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- httpHealthCheck
|
|
- httpHealthCheckResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
httpHealthCheck: projectGlobalHttpHealthCheck
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.HttpsHealthChecks
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/httpsHealthChecks/{httpsHealthCheck}
|
|
entity_name: projectGlobalHttpsHealthCheck
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.httpsHealthChecks.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- httpsHealthCheck
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- httpsHealthCheck
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
httpsHealthCheck: projectGlobalHttpsHealthCheck
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.httpsHealthChecks.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- httpsHealthCheck
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- httpsHealthCheck
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
httpsHealthCheck: projectGlobalHttpsHealthCheck
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.httpsHealthChecks.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- httpsHealthCheckResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- httpsHealthCheckResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.httpsHealthChecks.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.httpsHealthChecks.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- httpsHealthCheck
|
|
- requestId
|
|
- httpsHealthCheckResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- httpsHealthCheck
|
|
- requestId
|
|
- httpsHealthCheckResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
httpsHealthCheck: projectGlobalHttpsHealthCheck
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.httpsHealthChecks.update
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- httpsHealthCheck
|
|
- requestId
|
|
- httpsHealthCheckResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- httpsHealthCheck
|
|
- requestId
|
|
- httpsHealthCheckResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
httpsHealthCheck: projectGlobalHttpsHealthCheck
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Images
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/images/family/{family}
|
|
entity_name: projectGlobalImageFamily
|
|
- name_pattern: projects/{project}/global/images/{image}
|
|
entity_name: projectGlobalImage
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.images.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- image
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- image
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
image: projectGlobalImage
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.images.deprecate
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- image
|
|
- requestId
|
|
- deprecationStatusResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- image
|
|
- requestId
|
|
- deprecationStatusResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
image: projectGlobalImage
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.images.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- image
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- image
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
image: projectGlobalImage
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.images.getFromFamily
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- family
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- family
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
family: projectGlobalImageFamily
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.images.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- forceCreate
|
|
- requestId
|
|
- project
|
|
- imageResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- forceCreate
|
|
- requestId
|
|
- project
|
|
- imageResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.images.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.images.setLabels
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- resource
|
|
- globalSetLabelsRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- resource
|
|
- globalSetLabelsRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
image: projectGlobalImage
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.InstanceGroupManagers
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/zones/{zone}
|
|
entity_name: projectZone
|
|
- name_pattern: projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}
|
|
entity_name: projectZoneInstanceGroupManager
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.instanceGroupManagers.abandonInstances
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- instanceGroupManagersAbandonInstancesRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- instanceGroupManagersAbandonInstancesRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroupManagers.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroupManagers.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroupManager
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroupManager
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroupManagers.deleteInstances
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- instanceGroupManagersDeleteInstancesRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- instanceGroupManagersDeleteInstancesRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroupManagers.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instanceGroupManager
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instanceGroupManager
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroupManagers.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
- requestId
|
|
- instanceGroupManagerResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
- requestId
|
|
- instanceGroupManagerResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroupManagers.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroupManagers.listManagedInstances
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instanceGroupManager
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instanceGroupManager
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroupManagers.recreateInstances
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- instanceGroupManagersRecreateInstancesRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- instanceGroupManagersRecreateInstancesRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroupManagers.resize
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- size
|
|
- requestId
|
|
- instanceGroupManager
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- size
|
|
- requestId
|
|
- instanceGroupManager
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroupManagers.setInstanceTemplate
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- instanceGroupManagersSetInstanceTemplateRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- instanceGroupManagersSetInstanceTemplateRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroupManagers.setTargetPools
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- instanceGroupManagersSetTargetPoolsRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- instanceGroupManagersSetTargetPoolsRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.InstanceGroups
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/zones/{zone}
|
|
entity_name: projectZone
|
|
- name_pattern: projects/{project}/zones/{zone}/instanceGroups/{instanceGroup}
|
|
entity_name: projectZoneInstanceGroup
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.instanceGroups.addInstances
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroup
|
|
- instanceGroupsAddInstancesRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroup
|
|
- instanceGroupsAddInstancesRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroup: projectZoneInstanceGroup
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroups.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroups.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroup
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroup
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroup: projectZoneInstanceGroup
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroups.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instanceGroup
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instanceGroup
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroup: projectZoneInstanceGroup
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroups.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
- requestId
|
|
- instanceGroupResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
- requestId
|
|
- instanceGroupResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroups.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroups.listInstances
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instanceGroup
|
|
- instanceGroupsListInstancesRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instanceGroup
|
|
- instanceGroupsListInstancesRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroup: projectZoneInstanceGroup
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroups.removeInstances
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroup
|
|
- instanceGroupsRemoveInstancesRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroup
|
|
- instanceGroupsRemoveInstancesRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroup: projectZoneInstanceGroup
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceGroups.setNamedPorts
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroup
|
|
- instanceGroupsSetNamedPortsRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroup
|
|
- instanceGroupsSetNamedPortsRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroup: projectZoneInstanceGroup
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.InstanceTemplates
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/instanceTemplates/{instanceTemplate}
|
|
entity_name: projectGlobalInstanceTemplate
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.instanceTemplates.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instanceTemplate
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instanceTemplate
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceTemplate: projectGlobalInstanceTemplate
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceTemplates.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instanceTemplate
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instanceTemplate
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceTemplate: projectGlobalInstanceTemplate
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceTemplates.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- instanceTemplateResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- instanceTemplateResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instanceTemplates.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Instances
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/zones/{zone}
|
|
entity_name: projectZone
|
|
- name_pattern: projects/{project}/zones/{zone}/instances/{instance}
|
|
entity_name: projectZoneInstance
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.instances.addAccessConfig
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- networkInterface
|
|
- requestId
|
|
- accessConfigResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- networkInterface
|
|
- requestId
|
|
- accessConfigResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.attachDisk
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
- attachedDiskResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
- attachedDiskResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.deleteAccessConfig
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- networkInterface
|
|
- requestId
|
|
- accessConfig
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- networkInterface
|
|
- requestId
|
|
- accessConfig
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.detachDisk
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
- deviceName
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
- deviceName
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.getSerialPortOutput
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- port
|
|
- start
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- port
|
|
- start
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
- requestId
|
|
- instanceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
- requestId
|
|
- instanceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.listReferrers
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.reset
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.setDeletionProtection
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- resource
|
|
- requestId
|
|
- deletionProtection
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- resource
|
|
- requestId
|
|
- deletionProtection
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.setDiskAutoDelete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
- autoDelete
|
|
- deviceName
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
- autoDelete
|
|
- deviceName
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.setLabels
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
- instancesSetLabelsRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
- instancesSetLabelsRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.setMachineResources
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
- instancesSetMachineResourcesRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
- instancesSetMachineResourcesRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.setMachineType
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
- instancesSetMachineTypeRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
- instancesSetMachineTypeRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.setMetadata
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
- metadataResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
- metadataResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.setMinCpuPlatform
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
- instancesSetMinCpuPlatformRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
- instancesSetMinCpuPlatformRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.setScheduling
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
- schedulingResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
- schedulingResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.setServiceAccount
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
- instancesSetServiceAccountRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
- instancesSetServiceAccountRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.setTags
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
- tagsResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
- tagsResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.start
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.startWithEncryptionKey
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
- instancesStartWithEncryptionKeyRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
- instancesStartWithEncryptionKeyRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.stop
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.updateAccessConfig
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- networkInterface
|
|
- requestId
|
|
- accessConfigResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- networkInterface
|
|
- requestId
|
|
- accessConfigResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.instances.updateNetworkInterface
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instance
|
|
- networkInterface
|
|
- requestId
|
|
- networkInterfaceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instance
|
|
- networkInterface
|
|
- requestId
|
|
- networkInterfaceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instance: projectZoneInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.InterconnectAttachments
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}
|
|
entity_name: projectRegionInterconnectAttachment
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.interconnectAttachments.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.interconnectAttachments.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- interconnectAttachment
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- interconnectAttachment
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
interconnectAttachment: projectRegionInterconnectAttachment
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.interconnectAttachments.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- interconnectAttachment
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- interconnectAttachment
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
interconnectAttachment: projectRegionInterconnectAttachment
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.interconnectAttachments.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- region
|
|
- interconnectAttachmentResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- region
|
|
- interconnectAttachmentResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.interconnectAttachments.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.InterconnectLocations
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/interconnectLocations/{interconnectLocation}
|
|
entity_name: projectGlobalInterconnectLocation
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.interconnectLocations.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- interconnectLocation
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- interconnectLocation
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
interconnectLocation: projectGlobalInterconnectLocation
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.interconnectLocations.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Interconnects
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/interconnects/{interconnect}
|
|
entity_name: projectGlobalInterconnect
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.interconnects.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- interconnect
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- interconnect
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
interconnect: projectGlobalInterconnect
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.interconnects.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- interconnect
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- interconnect
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
interconnect: projectGlobalInterconnect
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.interconnects.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- interconnectResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- interconnectResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.interconnects.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.interconnects.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- interconnect
|
|
- interconnectResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- interconnect
|
|
- interconnectResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
interconnect: projectGlobalInterconnect
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Licenses
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}/global/licenses/{license}
|
|
entity_name: projectGlobalLicense
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.licenses.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- license
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- license
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
license: projectGlobalLicense
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.MachineTypes
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/zones/{zone}
|
|
entity_name: projectZone
|
|
- name_pattern: projects/{project}/zones/{zone}/machineTypes/{machineType}
|
|
entity_name: projectZoneMachineType
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.machineTypes.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.machineTypes.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- machineType
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- machineType
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
machineType: projectZoneMachineType
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.machineTypes.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Networks
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/networks/{network}
|
|
entity_name: projectGlobalNetwork
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.networks.addPeering
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- network
|
|
- networksAddPeeringRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- network
|
|
- networksAddPeeringRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
network: projectGlobalNetwork
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.networks.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- network
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- network
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
network: projectGlobalNetwork
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.networks.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- network
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- network
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
network: projectGlobalNetwork
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.networks.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- networkResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- networkResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.networks.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.networks.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- network
|
|
- networkResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- network
|
|
- networkResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
network: projectGlobalNetwork
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.networks.removePeering
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- network
|
|
- networksRemovePeeringRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- network
|
|
- networksRemovePeeringRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
network: projectGlobalNetwork
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.networks.switchToCustomMode
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- network
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- network
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
network: projectGlobalNetwork
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Projects
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.projects.disableXpnHost
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.projects.disableXpnResource
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- projectsDisableXpnResourceRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- projectsDisableXpnResourceRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.projects.enableXpnHost
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.projects.enableXpnResource
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- projectsEnableXpnResourceRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- projectsEnableXpnResourceRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.projects.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: false
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.projects.getXpnHost
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: false
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.projects.getXpnResources
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: resources
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.projects.listXpnHosts
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
- projectsListXpnHostsRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
- projectsListXpnHostsRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.projects.moveDisk
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- diskMoveRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- diskMoveRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.projects.moveInstance
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- instanceMoveRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- instanceMoveRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.projects.setCommonInstanceMetadata
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- metadataResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- metadataResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.projects.setUsageExportBucket
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- usageExportLocationResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- usageExportLocationResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.RegionAutoscalers
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/autoscalers/{autoscaler}
|
|
entity_name: projectRegionAutoscaler
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.regionAutoscalers.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- autoscaler
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- autoscaler
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
autoscaler: projectRegionAutoscaler
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionAutoscalers.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- autoscaler
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- autoscaler
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
autoscaler: projectRegionAutoscaler
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionAutoscalers.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- region
|
|
- autoscalerResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- region
|
|
- autoscalerResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionAutoscalers.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionAutoscalers.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- autoscaler
|
|
- requestId
|
|
- region
|
|
- autoscalerResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- autoscaler
|
|
- requestId
|
|
- region
|
|
- autoscalerResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionAutoscalers.update
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- autoscaler
|
|
- requestId
|
|
- region
|
|
- autoscalerResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- autoscaler
|
|
- requestId
|
|
- region
|
|
- autoscalerResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.RegionBackendServices
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/backendServices/{backendService}
|
|
entity_name: projectRegionBackendService
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.regionBackendServices.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- backendService
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- backendService
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendService: projectRegionBackendService
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionBackendServices.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- backendService
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- backendService
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendService: projectRegionBackendService
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionBackendServices.getHealth
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- backendService
|
|
- resourceGroupReferenceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- backendService
|
|
- resourceGroupReferenceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendService: projectRegionBackendService
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionBackendServices.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- region
|
|
- backendServiceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- region
|
|
- backendServiceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionBackendServices.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionBackendServices.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- backendService
|
|
- backendServiceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- backendService
|
|
- backendServiceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendService: projectRegionBackendService
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionBackendServices.update
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- backendService
|
|
- backendServiceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- backendService
|
|
- backendServiceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
backendService: projectRegionBackendService
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.RegionCommitments
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/commitments/{commitment}
|
|
entity_name: projectRegionCommitment
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.regionCommitments.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionCommitments.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- commitment
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- commitment
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
commitment: projectRegionCommitment
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionCommitments.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- region
|
|
- commitmentResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- region
|
|
- commitmentResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionCommitments.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.RegionInstanceGroupManagers
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}
|
|
entity_name: projectRegionInstanceGroupManager
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.regionInstanceGroupManagers.abandonInstances
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- regionInstanceGroupManagersAbandonInstancesRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- regionInstanceGroupManagersAbandonInstancesRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroupManagers.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroupManager
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroupManager
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroupManagers.deleteInstances
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- regionInstanceGroupManagersDeleteInstancesRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- regionInstanceGroupManagersDeleteInstancesRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroupManagers.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instanceGroupManager
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instanceGroupManager
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroupManagers.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- region
|
|
- instanceGroupManagerResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- region
|
|
- instanceGroupManagerResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroupManagers.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroupManagers.listManagedInstances
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instanceGroupManager
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instanceGroupManager
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroupManagers.recreateInstances
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- regionInstanceGroupManagersRecreateRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- regionInstanceGroupManagersRecreateRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroupManagers.resize
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- size
|
|
- requestId
|
|
- instanceGroupManager
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- size
|
|
- requestId
|
|
- instanceGroupManager
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroupManagers.setInstanceTemplate
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- regionInstanceGroupManagersSetTemplateRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- regionInstanceGroupManagersSetTemplateRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroupManagers.setTargetPools
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- regionInstanceGroupManagersSetTargetPoolsRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroupManager
|
|
- regionInstanceGroupManagersSetTargetPoolsRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.RegionInstanceGroups
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/instanceGroups/{instanceGroup}
|
|
entity_name: projectRegionInstanceGroup
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.regionInstanceGroups.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instanceGroup
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instanceGroup
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroup: projectRegionInstanceGroup
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroups.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroups.listInstances
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- instanceGroup
|
|
- regionInstanceGroupsListInstancesRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- instanceGroup
|
|
- regionInstanceGroupsListInstancesRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroup: projectRegionInstanceGroup
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionInstanceGroups.setNamedPorts
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- instanceGroup
|
|
- regionInstanceGroupsSetNamedPortsRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- instanceGroup
|
|
- regionInstanceGroupsSetNamedPortsRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
instanceGroup: projectRegionInstanceGroup
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.RegionOperations
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/operations/{operation}
|
|
entity_name: projectRegionOperation
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.regionOperations.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- operation
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- operation
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
operation: projectRegionOperation
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionOperations.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- operation
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- operation
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
operation: projectRegionOperation
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regionOperations.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Regions
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.regions.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.regions.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Routers
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/routers/{router}
|
|
entity_name: projectRegionRouter
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.routers.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.routers.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- router
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- router
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
router: projectRegionRouter
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.routers.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- router
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- router
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
router: projectRegionRouter
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.routers.getRouterStatus
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- router
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- router
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
router: projectRegionRouter
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.routers.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- region
|
|
- routerResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- region
|
|
- routerResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.routers.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.routers.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- router
|
|
- requestId
|
|
- routerResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- router
|
|
- requestId
|
|
- routerResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
router: projectRegionRouter
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.routers.preview
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- router
|
|
- routerResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- router
|
|
- routerResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
router: projectRegionRouter
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.routers.update
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- router
|
|
- requestId
|
|
- routerResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- router
|
|
- requestId
|
|
- routerResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
router: projectRegionRouter
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Routes
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/routes/{route}
|
|
entity_name: projectGlobalRoute
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.routes.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- route
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- route
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
route: projectGlobalRoute
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.routes.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- route
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- route
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
route: projectGlobalRoute
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.routes.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- routeResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- routeResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.routes.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Snapshots
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/snapshots/{snapshot}
|
|
entity_name: projectGlobalSnapshot
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.snapshots.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- snapshot
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- snapshot
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
snapshot: projectGlobalSnapshot
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.snapshots.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- snapshot
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- snapshot
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
snapshot: projectGlobalSnapshot
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.snapshots.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.snapshots.setLabels
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- resource
|
|
- globalSetLabelsRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- resource
|
|
- globalSetLabelsRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
snapshot: projectGlobalSnapshot
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.SslCertificates
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/sslCertificates/{sslCertificate}
|
|
entity_name: projectGlobalSslCertificate
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.sslCertificates.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- sslCertificate
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- sslCertificate
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
sslCertificate: projectGlobalSslCertificate
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.sslCertificates.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- sslCertificate
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- sslCertificate
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
sslCertificate: projectGlobalSslCertificate
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.sslCertificates.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- sslCertificateResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- sslCertificateResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.sslCertificates.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Subnetworks
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/subnetworks/{subnetwork}
|
|
entity_name: projectRegionSubnetwork
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.subnetworks.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.subnetworks.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- subnetwork
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- subnetwork
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
subnetwork: projectRegionSubnetwork
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.subnetworks.expandIpCidrRange
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- subnetwork
|
|
- subnetworksExpandIpCidrRangeRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- subnetwork
|
|
- subnetworksExpandIpCidrRangeRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
subnetwork: projectRegionSubnetwork
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.subnetworks.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- subnetwork
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- subnetwork
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
subnetwork: projectRegionSubnetwork
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.subnetworks.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- region
|
|
- subnetworkResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- region
|
|
- subnetworkResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.subnetworks.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.subnetworks.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- subnetwork
|
|
- subnetworkResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- subnetwork
|
|
- subnetworkResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
subnetwork: projectRegionSubnetwork
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.subnetworks.setPrivateIpGoogleAccess
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- subnetwork
|
|
- subnetworksSetPrivateIpGoogleAccessRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- subnetwork
|
|
- subnetworksSetPrivateIpGoogleAccessRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
subnetwork: projectRegionSubnetwork
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.TargetHttpProxies
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/targetHttpProxies/{targetHttpProxy}
|
|
entity_name: projectGlobalTargetHttpProxy
|
|
- name_pattern: projects/{project}/targetHttpProxies/{targetHttpProxy}
|
|
entity_name: projectTargetHttpProxy
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.targetHttpProxies.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- targetHttpProxy
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- targetHttpProxy
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetHttpProxy: projectGlobalTargetHttpProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetHttpProxies.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetHttpProxy
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetHttpProxy
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetHttpProxy: projectGlobalTargetHttpProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetHttpProxies.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- targetHttpProxyResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- targetHttpProxyResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetHttpProxies.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetHttpProxies.setUrlMap
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- targetHttpProxy
|
|
- urlMapReferenceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- targetHttpProxy
|
|
- urlMapReferenceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetHttpProxy: projectTargetHttpProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.TargetHttpsProxies
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/targetHttpsProxies/{targetHttpsProxy}
|
|
entity_name: projectGlobalTargetHttpsProxy
|
|
- name_pattern: projects/{project}/targetHttpsProxies/{targetHttpsProxy}
|
|
entity_name: projectTargetHttpsProxy
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.targetHttpsProxies.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetHttpsProxy
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetHttpsProxy
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetHttpsProxy: projectGlobalTargetHttpsProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetHttpsProxies.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetHttpsProxy
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetHttpsProxy
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetHttpsProxy: projectGlobalTargetHttpsProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetHttpsProxies.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- targetHttpsProxyResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- targetHttpsProxyResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetHttpsProxies.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetHttpsProxies.setSslCertificates
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetHttpsProxy
|
|
- requestId
|
|
- targetHttpsProxiesSetSslCertificatesRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetHttpsProxy
|
|
- requestId
|
|
- targetHttpsProxiesSetSslCertificatesRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetHttpsProxy: projectTargetHttpsProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetHttpsProxies.setUrlMap
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetHttpsProxy
|
|
- requestId
|
|
- urlMapReferenceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetHttpsProxy
|
|
- requestId
|
|
- urlMapReferenceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetHttpsProxy: projectTargetHttpsProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.TargetInstances
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/zones/{zone}
|
|
entity_name: projectZone
|
|
- name_pattern: projects/{project}/zones/{zone}/targetInstances/{targetInstance}
|
|
entity_name: projectZoneTargetInstance
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.targetInstances.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetInstances.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- targetInstance
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- targetInstance
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetInstance: projectZoneTargetInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetInstances.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetInstance
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetInstance
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetInstance: projectZoneTargetInstance
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetInstances.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
- requestId
|
|
- targetInstanceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
- requestId
|
|
- targetInstanceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetInstances.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.TargetPools
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/targetPools/{targetPool}
|
|
entity_name: projectRegionTargetPool
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.targetPools.addHealthCheck
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetPool
|
|
- requestId
|
|
- targetPoolsAddHealthCheckRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetPool
|
|
- requestId
|
|
- targetPoolsAddHealthCheckRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetPool: projectRegionTargetPool
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetPools.addInstance
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetPool
|
|
- requestId
|
|
- targetPoolsAddInstanceRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetPool
|
|
- requestId
|
|
- targetPoolsAddInstanceRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetPool: projectRegionTargetPool
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetPools.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetPools.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetPool
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetPool
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetPool: projectRegionTargetPool
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetPools.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetPool
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetPool
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetPool: projectRegionTargetPool
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetPools.getHealth
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetPool
|
|
- instanceReferenceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetPool
|
|
- instanceReferenceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetPool: projectRegionTargetPool
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetPools.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- region
|
|
- targetPoolResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- region
|
|
- targetPoolResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetPools.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetPools.removeHealthCheck
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetPool
|
|
- requestId
|
|
- targetPoolsRemoveHealthCheckRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetPool
|
|
- requestId
|
|
- targetPoolsRemoveHealthCheckRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetPool: projectRegionTargetPool
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetPools.removeInstance
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetPool
|
|
- requestId
|
|
- targetPoolsRemoveInstanceRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetPool
|
|
- requestId
|
|
- targetPoolsRemoveInstanceRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetPool: projectRegionTargetPool
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetPools.setBackup
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetPool
|
|
- requestId
|
|
- failoverRatio
|
|
- targetReferenceResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetPool
|
|
- requestId
|
|
- failoverRatio
|
|
- targetReferenceResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetPool: projectRegionTargetPool
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.TargetSslProxies
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/targetSslProxies/{targetSslProxy}
|
|
entity_name: projectGlobalTargetSslProxy
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.targetSslProxies.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetSslProxy
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetSslProxy
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetSslProxy: projectGlobalTargetSslProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetSslProxies.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetSslProxy
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetSslProxy
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetSslProxy: projectGlobalTargetSslProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetSslProxies.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- targetSslProxyResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- targetSslProxyResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetSslProxies.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetSslProxies.setBackendService
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetSslProxy
|
|
- requestId
|
|
- targetSslProxiesSetBackendServiceRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetSslProxy
|
|
- requestId
|
|
- targetSslProxiesSetBackendServiceRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetSslProxy: projectGlobalTargetSslProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetSslProxies.setProxyHeader
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetSslProxy
|
|
- requestId
|
|
- targetSslProxiesSetProxyHeaderRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetSslProxy
|
|
- requestId
|
|
- targetSslProxiesSetProxyHeaderRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetSslProxy: projectGlobalTargetSslProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetSslProxies.setSslCertificates
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetSslProxy
|
|
- requestId
|
|
- targetSslProxiesSetSslCertificatesRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetSslProxy
|
|
- requestId
|
|
- targetSslProxiesSetSslCertificatesRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetSslProxy: projectGlobalTargetSslProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.TargetTcpProxies
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/targetTcpProxies/{targetTcpProxy}
|
|
entity_name: projectGlobalTargetTcpProxy
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.targetTcpProxies.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- targetTcpProxy
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- targetTcpProxy
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetTcpProxy: projectGlobalTargetTcpProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetTcpProxies.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetTcpProxy
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetTcpProxy
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetTcpProxy: projectGlobalTargetTcpProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetTcpProxies.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- targetTcpProxyResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- targetTcpProxyResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetTcpProxies.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetTcpProxies.setBackendService
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- targetTcpProxy
|
|
- targetTcpProxiesSetBackendServiceRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- targetTcpProxy
|
|
- targetTcpProxiesSetBackendServiceRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetTcpProxy: projectGlobalTargetTcpProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetTcpProxies.setProxyHeader
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- targetTcpProxy
|
|
- targetTcpProxiesSetProxyHeaderRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- targetTcpProxy
|
|
- targetTcpProxiesSetProxyHeaderRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetTcpProxy: projectGlobalTargetTcpProxy
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.TargetVpnGateways
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/targetVpnGateways/{targetVpnGateway}
|
|
entity_name: projectRegionTargetVpnGateway
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.targetVpnGateways.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetVpnGateways.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- targetVpnGateway
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- targetVpnGateway
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetVpnGateway: projectRegionTargetVpnGateway
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetVpnGateways.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- targetVpnGateway
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- targetVpnGateway
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
targetVpnGateway: projectRegionTargetVpnGateway
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetVpnGateways.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- region
|
|
- targetVpnGatewayResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- region
|
|
- targetVpnGatewayResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.targetVpnGateways.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.UrlMaps
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/global/urlMaps/{urlMap}
|
|
entity_name: projectGlobalUrlMap
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.urlMaps.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- urlMap
|
|
- requestId
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- urlMap
|
|
- requestId
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
urlMap: projectGlobalUrlMap
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.urlMaps.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- urlMap
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- urlMap
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
urlMap: projectGlobalUrlMap
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.urlMaps.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- project
|
|
- urlMapResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- project
|
|
- urlMapResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.urlMaps.invalidateCache
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- urlMap
|
|
- requestId
|
|
- cacheInvalidationRuleResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- urlMap
|
|
- requestId
|
|
- cacheInvalidationRuleResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
urlMap: projectGlobalUrlMap
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.urlMaps.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.urlMaps.patch
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- urlMap
|
|
- requestId
|
|
- urlMapResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- urlMap
|
|
- requestId
|
|
- urlMapResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
urlMap: projectGlobalUrlMap
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.urlMaps.update
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- urlMap
|
|
- requestId
|
|
- urlMapResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- urlMap
|
|
- requestId
|
|
- urlMapResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
urlMap: projectGlobalUrlMap
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.urlMaps.validate
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- urlMap
|
|
- urlMapsValidateRequestResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- urlMap
|
|
- urlMapsValidateRequestResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
urlMap: projectGlobalUrlMap
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.VpnTunnels
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/regions/{region}
|
|
entity_name: projectRegion
|
|
- name_pattern: projects/{project}/regions/{region}/vpnTunnels/{vpnTunnel}
|
|
entity_name: projectRegionVpnTunnel
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.vpnTunnels.aggregatedList
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.vpnTunnels.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- vpnTunnel
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- vpnTunnel
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
vpnTunnel: projectRegionVpnTunnel
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.vpnTunnels.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- vpnTunnel
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- vpnTunnel
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
vpnTunnel: projectRegionVpnTunnel
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.vpnTunnels.insert
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- requestId
|
|
- region
|
|
- vpnTunnelResource
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- requestId
|
|
- region
|
|
- vpnTunnelResource
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: non_idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.vpnTunnels.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- region
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- region
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
region: projectRegion
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.ZoneOperations
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}/zones/{zone}
|
|
entity_name: projectZone
|
|
- name_pattern: projects/{project}/zones/{zone}/operations/{operation}
|
|
entity_name: projectZoneOperation
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.zoneOperations.delete
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- operation
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- operation
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
operation: projectZoneOperation
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.zoneOperations.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- operation
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- operation
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
operation: projectZoneOperation
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.zoneOperations.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
# The fully qualified name of the API interface.
|
|
- name: google.compute.v1.Zones
|
|
# A list of resource collection configurations.
|
|
# Consists of a name_pattern and an entity_name.
|
|
# The name_pattern is a pattern to describe the names of the resources of this
|
|
# collection, using the platform's conventions for URI patterns. A generator
|
|
# may use this to generate methods to compose and decompose such names. The
|
|
# pattern should use named placeholders as in `shelves/{shelf}/books/{book}`;
|
|
# those will be taken as hints for the parameter names of the generated
|
|
# methods. If empty, no name methods are generated.
|
|
# The entity_name is the name to be used as a basis for generated methods and
|
|
# classes.
|
|
collections:
|
|
- name_pattern: projects/{project}
|
|
entity_name: project
|
|
- name_pattern: projects/{project}/zones/{zone}
|
|
entity_name: projectZone
|
|
# Definition for retryable codes.
|
|
retry_codes_def:
|
|
- name: idempotent
|
|
retry_codes:
|
|
- UNAVAILABLE
|
|
- DEADLINE_EXCEEDED
|
|
- name: non_idempotent
|
|
retry_codes: []
|
|
# Definition for retry/backoff parameters.
|
|
retry_params_def:
|
|
- name: default
|
|
initial_retry_delay_millis: 100
|
|
retry_delay_multiplier: 1.3
|
|
max_retry_delay_millis: 60000
|
|
initial_rpc_timeout_millis: 20000
|
|
rpc_timeout_multiplier: 1
|
|
max_rpc_timeout_millis: 20000
|
|
total_timeout_millis: 600000
|
|
# A list of method configurations.
|
|
# Common properties:
|
|
# name - The simple name of the method.
|
|
# flattening - Specifies the configuration for parameter flattening.
|
|
# Describes the parameter groups for which a generator should produce
|
|
# method overloads which allow a client to directly pass request message
|
|
# fields as method parameters. This information may or may not be used,
|
|
# depending on the target language.
|
|
# Consists of groups, which each represent a list of parameters to be
|
|
# flattened. Each parameter listed must be a field of the request
|
|
# message.
|
|
# required_fields - Fields that are always required for a request to be
|
|
# valid.
|
|
# request_object_method - Turns on or off the generation of a method whose
|
|
# sole parameter is a request object. Not all languages will generate
|
|
# this method.
|
|
# resource_name_treatment - An enum that specifies how to treat the
|
|
# resource name formats defined in the field_name_patterns
|
|
# and response_field_name_patterns fields.
|
|
# UNSET: default value
|
|
# NONE: the collection configs will not be used by the generated code.
|
|
# VALIDATE: string fields will be validated by the client against the
|
|
# specified resource name formats.
|
|
# STATIC_TYPES: the client will use generated types for resource names.
|
|
# page_streaming - Specifies the configuration for paging.
|
|
# Describes information for generating a method which transforms a
|
|
# paging list RPC into a stream of resources.
|
|
# Consists of a request and a response.
|
|
# The request specifies request information of the list method. It
|
|
# defines which fields match the paging pattern in the request. The
|
|
# request consists of a page_size_field and a token_field. The
|
|
# page_size_field is the name of the optional field specifying the
|
|
# maximum number of elements to be returned in the response. The
|
|
# token_field is the name of the field in the request containing the
|
|
# page token.
|
|
# The response specifies response information of the list method. It
|
|
# defines which fields match the paging pattern in the response. The
|
|
# response consists of a token_field and a resources_field. The
|
|
# token_field is the name of the field in the response containing the
|
|
# next page token. The resources_field is the name of the field in the
|
|
# response containing the list of resources belonging to the page.
|
|
# retry_codes_name - Specifies the configuration for retryable codes. The
|
|
# name must be defined in interfaces.retry_codes_def.
|
|
# retry_params_name - Specifies the configuration for retry/backoff
|
|
# parameters. The name must be defined in interfaces.retry_params_def.
|
|
# field_name_patterns - Maps the field name of the request type to
|
|
# entity_name of interfaces.collections.
|
|
# Specifies the string pattern that the field must follow.
|
|
# timeout_millis - Specifies the default timeout for a non-retrying call. If
|
|
# the call is retrying, refer to retry_params_name instead.
|
|
methods:
|
|
- name: compute.zones.get
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- zone
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- zone
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
zone: projectZone
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
- name: compute.zones.list
|
|
# TODO: Configure which groups of fields should be flattened into method
|
|
# params.
|
|
flattening:
|
|
groups:
|
|
- parameters:
|
|
- project
|
|
# TODO: Configure which fields are required.
|
|
required_fields:
|
|
- project
|
|
request_object_method: true
|
|
resource_name_treatment: STATIC_TYPES
|
|
page_streaming:
|
|
request:
|
|
page_size_field: maxResults
|
|
token_field: pageToken
|
|
response:
|
|
token_field: nextPageToken
|
|
resources_field: items
|
|
# TODO: Configure the retryable codes for this method.
|
|
retry_codes_name: idempotent
|
|
# TODO: Configure the retryable params for this method.
|
|
retry_params_name: default
|
|
field_name_patterns:
|
|
project: project
|
|
# TODO: Configure the default timeout for a non-retrying call.
|
|
timeout_millis: 60000
|
|
resource_name_generation:
|
|
- message_name: AggregatedListAcceleratorTypesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: GetAcceleratorTypeHttpRequest
|
|
field_entity_map:
|
|
acceleratorType: projectZoneAcceleratorType
|
|
- message_name: ListAcceleratorTypesHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: AggregatedListAddressesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteAddressHttpRequest
|
|
field_entity_map:
|
|
address: projectRegionAddress
|
|
- message_name: GetAddressHttpRequest
|
|
field_entity_map:
|
|
address: projectRegionAddress
|
|
- message_name: InsertAddressHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListAddressesHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: AggregatedListAutoscalersHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteAutoscalerHttpRequest
|
|
field_entity_map:
|
|
autoscaler: projectZoneAutoscaler
|
|
- message_name: GetAutoscalerHttpRequest
|
|
field_entity_map:
|
|
autoscaler: projectZoneAutoscaler
|
|
- message_name: InsertAutoscalerHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: ListAutoscalersHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: PatchAutoscalerHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: UpdateAutoscalerHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: DeleteBackendBucketHttpRequest
|
|
field_entity_map:
|
|
backendBucket: projectGlobalBackendBucket
|
|
- message_name: GetBackendBucketHttpRequest
|
|
field_entity_map:
|
|
backendBucket: projectGlobalBackendBucket
|
|
- message_name: InsertBackendBucketHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListBackendBucketsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: PatchBackendBucketHttpRequest
|
|
field_entity_map:
|
|
backendBucket: projectGlobalBackendBucket
|
|
- message_name: UpdateBackendBucketHttpRequest
|
|
field_entity_map:
|
|
backendBucket: projectGlobalBackendBucket
|
|
- message_name: AggregatedListBackendServicesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteBackendServiceHttpRequest
|
|
field_entity_map:
|
|
backendService: projectGlobalBackendService
|
|
- message_name: GetBackendServiceHttpRequest
|
|
field_entity_map:
|
|
backendService: projectGlobalBackendService
|
|
- message_name: GetHealthBackendServiceHttpRequest
|
|
field_entity_map:
|
|
backendService: projectGlobalBackendService
|
|
- message_name: InsertBackendServiceHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListBackendServicesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: PatchBackendServiceHttpRequest
|
|
field_entity_map:
|
|
backendService: projectGlobalBackendService
|
|
- message_name: UpdateBackendServiceHttpRequest
|
|
field_entity_map:
|
|
backendService: projectGlobalBackendService
|
|
- message_name: AggregatedListDiskTypesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: GetDiskTypeHttpRequest
|
|
field_entity_map:
|
|
diskType: projectZoneDiskType
|
|
- message_name: ListDiskTypesHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: AggregatedListDisksHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: CreateSnapshotDiskHttpRequest
|
|
field_entity_map:
|
|
disk: projectZoneDisk
|
|
- message_name: DeleteDiskHttpRequest
|
|
field_entity_map:
|
|
disk: projectZoneDisk
|
|
- message_name: GetDiskHttpRequest
|
|
field_entity_map:
|
|
disk: projectZoneDisk
|
|
- message_name: InsertDiskHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: ListDisksHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: ResizeDiskHttpRequest
|
|
field_entity_map:
|
|
disk: projectZoneDisk
|
|
- message_name: SetLabelsDiskHttpRequest
|
|
field_entity_map:
|
|
resource: projectZoneDisk
|
|
- message_name: DeleteFirewallHttpRequest
|
|
field_entity_map:
|
|
firewall: projectGlobalFirewall
|
|
- message_name: GetFirewallHttpRequest
|
|
field_entity_map:
|
|
firewall: projectGlobalFirewall
|
|
- message_name: InsertFirewallHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListFirewallsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: PatchFirewallHttpRequest
|
|
field_entity_map:
|
|
firewall: projectGlobalFirewall
|
|
- message_name: UpdateFirewallHttpRequest
|
|
field_entity_map:
|
|
firewall: projectGlobalFirewall
|
|
- message_name: AggregatedListForwardingRulesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteForwardingRuleHttpRequest
|
|
field_entity_map:
|
|
forwardingRule: projectRegionForwardingRule
|
|
- message_name: GetForwardingRuleHttpRequest
|
|
field_entity_map:
|
|
forwardingRule: projectRegionForwardingRule
|
|
- message_name: InsertForwardingRuleHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListForwardingRulesHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: SetTargetForwardingRuleHttpRequest
|
|
field_entity_map:
|
|
forwardingRule: projectRegionForwardingRule
|
|
- message_name: DeleteGlobalAddressHttpRequest
|
|
field_entity_map:
|
|
address: projectGlobalAddress
|
|
- message_name: GetGlobalAddressHttpRequest
|
|
field_entity_map:
|
|
address: projectGlobalAddress
|
|
- message_name: InsertGlobalAddressHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListGlobalAddressesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteGlobalForwardingRuleHttpRequest
|
|
field_entity_map:
|
|
forwardingRule: projectGlobalForwardingRule
|
|
- message_name: GetGlobalForwardingRuleHttpRequest
|
|
field_entity_map:
|
|
forwardingRule: projectGlobalForwardingRule
|
|
- message_name: InsertGlobalForwardingRuleHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListGlobalForwardingRulesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: SetTargetGlobalForwardingRuleHttpRequest
|
|
field_entity_map:
|
|
forwardingRule: projectGlobalForwardingRule
|
|
- message_name: AggregatedListGlobalOperationsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteGlobalOperationHttpRequest
|
|
field_entity_map:
|
|
operation: projectGlobalOperation
|
|
- message_name: GetGlobalOperationHttpRequest
|
|
field_entity_map:
|
|
operation: projectGlobalOperation
|
|
- message_name: ListGlobalOperationsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteHealthCheckHttpRequest
|
|
field_entity_map:
|
|
healthCheck: projectGlobalHealthCheck
|
|
- message_name: GetHealthCheckHttpRequest
|
|
field_entity_map:
|
|
healthCheck: projectGlobalHealthCheck
|
|
- message_name: InsertHealthCheckHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListHealthChecksHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: PatchHealthCheckHttpRequest
|
|
field_entity_map:
|
|
healthCheck: projectGlobalHealthCheck
|
|
- message_name: UpdateHealthCheckHttpRequest
|
|
field_entity_map:
|
|
healthCheck: projectGlobalHealthCheck
|
|
- message_name: DeleteHttpHealthCheckHttpRequest
|
|
field_entity_map:
|
|
httpHealthCheck: projectGlobalHttpHealthCheck
|
|
- message_name: GetHttpHealthCheckHttpRequest
|
|
field_entity_map:
|
|
httpHealthCheck: projectGlobalHttpHealthCheck
|
|
- message_name: InsertHttpHealthCheckHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListHttpHealthChecksHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: PatchHttpHealthCheckHttpRequest
|
|
field_entity_map:
|
|
httpHealthCheck: projectGlobalHttpHealthCheck
|
|
- message_name: UpdateHttpHealthCheckHttpRequest
|
|
field_entity_map:
|
|
httpHealthCheck: projectGlobalHttpHealthCheck
|
|
- message_name: DeleteHttpsHealthCheckHttpRequest
|
|
field_entity_map:
|
|
httpsHealthCheck: projectGlobalHttpsHealthCheck
|
|
- message_name: GetHttpsHealthCheckHttpRequest
|
|
field_entity_map:
|
|
httpsHealthCheck: projectGlobalHttpsHealthCheck
|
|
- message_name: InsertHttpsHealthCheckHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListHttpsHealthChecksHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: PatchHttpsHealthCheckHttpRequest
|
|
field_entity_map:
|
|
httpsHealthCheck: projectGlobalHttpsHealthCheck
|
|
- message_name: UpdateHttpsHealthCheckHttpRequest
|
|
field_entity_map:
|
|
httpsHealthCheck: projectGlobalHttpsHealthCheck
|
|
- message_name: DeleteImageHttpRequest
|
|
field_entity_map:
|
|
image: projectGlobalImage
|
|
- message_name: DeprecateImageHttpRequest
|
|
field_entity_map:
|
|
image: projectGlobalImage
|
|
- message_name: GetImageHttpRequest
|
|
field_entity_map:
|
|
image: projectGlobalImage
|
|
- message_name: GetFromFamilyImageHttpRequest
|
|
field_entity_map:
|
|
family: projectGlobalImageFamily
|
|
- message_name: InsertImageHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListImagesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: SetLabelsImageHttpRequest
|
|
field_entity_map:
|
|
resource: projectGlobalImage
|
|
- message_name: AbandonInstancesInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
- message_name: AggregatedListInstanceGroupManagersHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
- message_name: DeleteInstancesInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
- message_name: GetInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
- message_name: InsertInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: ListInstanceGroupManagersHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: ListManagedInstancesInstanceGroupManagersHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
- message_name: RecreateInstancesInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
- message_name: ResizeInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
- message_name: SetInstanceTemplateInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
- message_name: SetTargetPoolsInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectZoneInstanceGroupManager
|
|
- message_name: AddInstancesInstanceGroupHttpRequest
|
|
field_entity_map:
|
|
instanceGroup: projectZoneInstanceGroup
|
|
- message_name: AggregatedListInstanceGroupsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteInstanceGroupHttpRequest
|
|
field_entity_map:
|
|
instanceGroup: projectZoneInstanceGroup
|
|
- message_name: GetInstanceGroupHttpRequest
|
|
field_entity_map:
|
|
instanceGroup: projectZoneInstanceGroup
|
|
- message_name: InsertInstanceGroupHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: ListInstanceGroupsHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: ListInstancesInstanceGroupsHttpRequest
|
|
field_entity_map:
|
|
instanceGroup: projectZoneInstanceGroup
|
|
- message_name: RemoveInstancesInstanceGroupHttpRequest
|
|
field_entity_map:
|
|
instanceGroup: projectZoneInstanceGroup
|
|
- message_name: SetNamedPortsInstanceGroupHttpRequest
|
|
field_entity_map:
|
|
instanceGroup: projectZoneInstanceGroup
|
|
- message_name: DeleteInstanceTemplateHttpRequest
|
|
field_entity_map:
|
|
instanceTemplate: projectGlobalInstanceTemplate
|
|
- message_name: GetInstanceTemplateHttpRequest
|
|
field_entity_map:
|
|
instanceTemplate: projectGlobalInstanceTemplate
|
|
- message_name: InsertInstanceTemplateHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListInstanceTemplatesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: AddAccessConfigInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: AggregatedListInstancesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: AttachDiskInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: DeleteInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: DeleteAccessConfigInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: DetachDiskInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: GetInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: GetSerialPortOutputInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: InsertInstanceHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: ListInstancesHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: ListReferrersInstancesHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: ResetInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: SetDeletionProtectionInstanceHttpRequest
|
|
field_entity_map:
|
|
resource: projectZoneInstance
|
|
- message_name: SetDiskAutoDeleteInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: SetLabelsInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: SetMachineResourcesInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: SetMachineTypeInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: SetMetadataInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: SetMinCpuPlatformInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: SetSchedulingInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: SetServiceAccountInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: SetTagsInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: StartInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: StartWithEncryptionKeyInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: StopInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: UpdateAccessConfigInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: UpdateNetworkInterfaceInstanceHttpRequest
|
|
field_entity_map:
|
|
instance: projectZoneInstance
|
|
- message_name: AggregatedListInterconnectAttachmentsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteInterconnectAttachmentHttpRequest
|
|
field_entity_map:
|
|
interconnectAttachment: projectRegionInterconnectAttachment
|
|
- message_name: GetInterconnectAttachmentHttpRequest
|
|
field_entity_map:
|
|
interconnectAttachment: projectRegionInterconnectAttachment
|
|
- message_name: InsertInterconnectAttachmentHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListInterconnectAttachmentsHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: GetInterconnectLocationHttpRequest
|
|
field_entity_map:
|
|
interconnectLocation: projectGlobalInterconnectLocation
|
|
- message_name: ListInterconnectLocationsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteInterconnectHttpRequest
|
|
field_entity_map:
|
|
interconnect: projectGlobalInterconnect
|
|
- message_name: GetInterconnectHttpRequest
|
|
field_entity_map:
|
|
interconnect: projectGlobalInterconnect
|
|
- message_name: InsertInterconnectHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListInterconnectsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: PatchInterconnectHttpRequest
|
|
field_entity_map:
|
|
interconnect: projectGlobalInterconnect
|
|
- message_name: GetLicenseHttpRequest
|
|
field_entity_map:
|
|
license: projectGlobalLicense
|
|
- message_name: AggregatedListMachineTypesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: GetMachineTypeHttpRequest
|
|
field_entity_map:
|
|
machineType: projectZoneMachineType
|
|
- message_name: ListMachineTypesHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: AddPeeringNetworkHttpRequest
|
|
field_entity_map:
|
|
network: projectGlobalNetwork
|
|
- message_name: DeleteNetworkHttpRequest
|
|
field_entity_map:
|
|
network: projectGlobalNetwork
|
|
- message_name: GetNetworkHttpRequest
|
|
field_entity_map:
|
|
network: projectGlobalNetwork
|
|
- message_name: InsertNetworkHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListNetworksHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: PatchNetworkHttpRequest
|
|
field_entity_map:
|
|
network: projectGlobalNetwork
|
|
- message_name: RemovePeeringNetworkHttpRequest
|
|
field_entity_map:
|
|
network: projectGlobalNetwork
|
|
- message_name: SwitchToCustomModeNetworkHttpRequest
|
|
field_entity_map:
|
|
network: projectGlobalNetwork
|
|
- message_name: DisableXpnHostProjectHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DisableXpnResourceProjectHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: EnableXpnHostProjectHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: EnableXpnResourceProjectHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: GetProjectHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: GetXpnHostProjectHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: GetXpnResourcesProjectsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListXpnHostsProjectsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: MoveDiskProjectHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: MoveInstanceProjectHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: SetCommonInstanceMetadataProjectHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: SetUsageExportBucketProjectHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteRegionAutoscalerHttpRequest
|
|
field_entity_map:
|
|
autoscaler: projectRegionAutoscaler
|
|
- message_name: GetRegionAutoscalerHttpRequest
|
|
field_entity_map:
|
|
autoscaler: projectRegionAutoscaler
|
|
- message_name: InsertRegionAutoscalerHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListRegionAutoscalersHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: PatchRegionAutoscalerHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: UpdateRegionAutoscalerHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: DeleteRegionBackendServiceHttpRequest
|
|
field_entity_map:
|
|
backendService: projectRegionBackendService
|
|
- message_name: GetRegionBackendServiceHttpRequest
|
|
field_entity_map:
|
|
backendService: projectRegionBackendService
|
|
- message_name: GetHealthRegionBackendServiceHttpRequest
|
|
field_entity_map:
|
|
backendService: projectRegionBackendService
|
|
- message_name: InsertRegionBackendServiceHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListRegionBackendServicesHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: PatchRegionBackendServiceHttpRequest
|
|
field_entity_map:
|
|
backendService: projectRegionBackendService
|
|
- message_name: UpdateRegionBackendServiceHttpRequest
|
|
field_entity_map:
|
|
backendService: projectRegionBackendService
|
|
- message_name: AggregatedListRegionCommitmentsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: GetRegionCommitmentHttpRequest
|
|
field_entity_map:
|
|
commitment: projectRegionCommitment
|
|
- message_name: InsertRegionCommitmentHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListRegionCommitmentsHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: AbandonInstancesRegionInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
- message_name: DeleteRegionInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
- message_name: DeleteInstancesRegionInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
- message_name: GetRegionInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
- message_name: InsertRegionInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListRegionInstanceGroupManagersHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListManagedInstancesRegionInstanceGroupManagersHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
- message_name: RecreateInstancesRegionInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
- message_name: ResizeRegionInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
- message_name: SetInstanceTemplateRegionInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
- message_name: SetTargetPoolsRegionInstanceGroupManagerHttpRequest
|
|
field_entity_map:
|
|
instanceGroupManager: projectRegionInstanceGroupManager
|
|
- message_name: GetRegionInstanceGroupHttpRequest
|
|
field_entity_map:
|
|
instanceGroup: projectRegionInstanceGroup
|
|
- message_name: ListRegionInstanceGroupsHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListInstancesRegionInstanceGroupsHttpRequest
|
|
field_entity_map:
|
|
instanceGroup: projectRegionInstanceGroup
|
|
- message_name: SetNamedPortsRegionInstanceGroupHttpRequest
|
|
field_entity_map:
|
|
instanceGroup: projectRegionInstanceGroup
|
|
- message_name: DeleteRegionOperationHttpRequest
|
|
field_entity_map:
|
|
operation: projectRegionOperation
|
|
- message_name: GetRegionOperationHttpRequest
|
|
field_entity_map:
|
|
operation: projectRegionOperation
|
|
- message_name: ListRegionOperationsHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: GetRegionHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListRegionsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: AggregatedListRoutersHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteRouterHttpRequest
|
|
field_entity_map:
|
|
router: projectRegionRouter
|
|
- message_name: GetRouterHttpRequest
|
|
field_entity_map:
|
|
router: projectRegionRouter
|
|
- message_name: GetRouterStatusRouterHttpRequest
|
|
field_entity_map:
|
|
router: projectRegionRouter
|
|
- message_name: InsertRouterHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListRoutersHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: PatchRouterHttpRequest
|
|
field_entity_map:
|
|
router: projectRegionRouter
|
|
- message_name: PreviewRouterHttpRequest
|
|
field_entity_map:
|
|
router: projectRegionRouter
|
|
- message_name: UpdateRouterHttpRequest
|
|
field_entity_map:
|
|
router: projectRegionRouter
|
|
- message_name: DeleteRouteHttpRequest
|
|
field_entity_map:
|
|
route: projectGlobalRoute
|
|
- message_name: GetRouteHttpRequest
|
|
field_entity_map:
|
|
route: projectGlobalRoute
|
|
- message_name: InsertRouteHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListRoutesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteSnapshotHttpRequest
|
|
field_entity_map:
|
|
snapshot: projectGlobalSnapshot
|
|
- message_name: GetSnapshotHttpRequest
|
|
field_entity_map:
|
|
snapshot: projectGlobalSnapshot
|
|
- message_name: ListSnapshotsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: SetLabelsSnapshotHttpRequest
|
|
field_entity_map:
|
|
resource: projectGlobalSnapshot
|
|
- message_name: DeleteSslCertificateHttpRequest
|
|
field_entity_map:
|
|
sslCertificate: projectGlobalSslCertificate
|
|
- message_name: GetSslCertificateHttpRequest
|
|
field_entity_map:
|
|
sslCertificate: projectGlobalSslCertificate
|
|
- message_name: InsertSslCertificateHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListSslCertificatesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: AggregatedListSubnetworksHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteSubnetworkHttpRequest
|
|
field_entity_map:
|
|
subnetwork: projectRegionSubnetwork
|
|
- message_name: ExpandIpCidrRangeSubnetworkHttpRequest
|
|
field_entity_map:
|
|
subnetwork: projectRegionSubnetwork
|
|
- message_name: GetSubnetworkHttpRequest
|
|
field_entity_map:
|
|
subnetwork: projectRegionSubnetwork
|
|
- message_name: InsertSubnetworkHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListSubnetworksHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: PatchSubnetworkHttpRequest
|
|
field_entity_map:
|
|
subnetwork: projectRegionSubnetwork
|
|
- message_name: SetPrivateIpGoogleAccessSubnetworkHttpRequest
|
|
field_entity_map:
|
|
subnetwork: projectRegionSubnetwork
|
|
- message_name: DeleteTargetHttpProxyHttpRequest
|
|
field_entity_map:
|
|
targetHttpProxy: projectGlobalTargetHttpProxy
|
|
- message_name: GetTargetHttpProxyHttpRequest
|
|
field_entity_map:
|
|
targetHttpProxy: projectGlobalTargetHttpProxy
|
|
- message_name: InsertTargetHttpProxyHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListTargetHttpProxiesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: SetUrlMapTargetHttpProxyHttpRequest
|
|
field_entity_map:
|
|
targetHttpProxy: projectTargetHttpProxy
|
|
- message_name: DeleteTargetHttpsProxyHttpRequest
|
|
field_entity_map:
|
|
targetHttpsProxy: projectGlobalTargetHttpsProxy
|
|
- message_name: GetTargetHttpsProxyHttpRequest
|
|
field_entity_map:
|
|
targetHttpsProxy: projectGlobalTargetHttpsProxy
|
|
- message_name: InsertTargetHttpsProxyHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListTargetHttpsProxiesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: SetSslCertificatesTargetHttpsProxyHttpRequest
|
|
field_entity_map:
|
|
targetHttpsProxy: projectTargetHttpsProxy
|
|
- message_name: SetUrlMapTargetHttpsProxyHttpRequest
|
|
field_entity_map:
|
|
targetHttpsProxy: projectTargetHttpsProxy
|
|
- message_name: AggregatedListTargetInstancesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteTargetInstanceHttpRequest
|
|
field_entity_map:
|
|
targetInstance: projectZoneTargetInstance
|
|
- message_name: GetTargetInstanceHttpRequest
|
|
field_entity_map:
|
|
targetInstance: projectZoneTargetInstance
|
|
- message_name: InsertTargetInstanceHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: ListTargetInstancesHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: AddHealthCheckTargetPoolHttpRequest
|
|
field_entity_map:
|
|
targetPool: projectRegionTargetPool
|
|
- message_name: AddInstanceTargetPoolHttpRequest
|
|
field_entity_map:
|
|
targetPool: projectRegionTargetPool
|
|
- message_name: AggregatedListTargetPoolsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteTargetPoolHttpRequest
|
|
field_entity_map:
|
|
targetPool: projectRegionTargetPool
|
|
- message_name: GetTargetPoolHttpRequest
|
|
field_entity_map:
|
|
targetPool: projectRegionTargetPool
|
|
- message_name: GetHealthTargetPoolHttpRequest
|
|
field_entity_map:
|
|
targetPool: projectRegionTargetPool
|
|
- message_name: InsertTargetPoolHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListTargetPoolsHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: RemoveHealthCheckTargetPoolHttpRequest
|
|
field_entity_map:
|
|
targetPool: projectRegionTargetPool
|
|
- message_name: RemoveInstanceTargetPoolHttpRequest
|
|
field_entity_map:
|
|
targetPool: projectRegionTargetPool
|
|
- message_name: SetBackupTargetPoolHttpRequest
|
|
field_entity_map:
|
|
targetPool: projectRegionTargetPool
|
|
- message_name: DeleteTargetSslProxyHttpRequest
|
|
field_entity_map:
|
|
targetSslProxy: projectGlobalTargetSslProxy
|
|
- message_name: GetTargetSslProxyHttpRequest
|
|
field_entity_map:
|
|
targetSslProxy: projectGlobalTargetSslProxy
|
|
- message_name: InsertTargetSslProxyHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListTargetSslProxiesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: SetBackendServiceTargetSslProxyHttpRequest
|
|
field_entity_map:
|
|
targetSslProxy: projectGlobalTargetSslProxy
|
|
- message_name: SetProxyHeaderTargetSslProxyHttpRequest
|
|
field_entity_map:
|
|
targetSslProxy: projectGlobalTargetSslProxy
|
|
- message_name: SetSslCertificatesTargetSslProxyHttpRequest
|
|
field_entity_map:
|
|
targetSslProxy: projectGlobalTargetSslProxy
|
|
- message_name: DeleteTargetTcpProxyHttpRequest
|
|
field_entity_map:
|
|
targetTcpProxy: projectGlobalTargetTcpProxy
|
|
- message_name: GetTargetTcpProxyHttpRequest
|
|
field_entity_map:
|
|
targetTcpProxy: projectGlobalTargetTcpProxy
|
|
- message_name: InsertTargetTcpProxyHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: ListTargetTcpProxiesHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: SetBackendServiceTargetTcpProxyHttpRequest
|
|
field_entity_map:
|
|
targetTcpProxy: projectGlobalTargetTcpProxy
|
|
- message_name: SetProxyHeaderTargetTcpProxyHttpRequest
|
|
field_entity_map:
|
|
targetTcpProxy: projectGlobalTargetTcpProxy
|
|
- message_name: AggregatedListTargetVpnGatewaysHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteTargetVpnGatewayHttpRequest
|
|
field_entity_map:
|
|
targetVpnGateway: projectRegionTargetVpnGateway
|
|
- message_name: GetTargetVpnGatewayHttpRequest
|
|
field_entity_map:
|
|
targetVpnGateway: projectRegionTargetVpnGateway
|
|
- message_name: InsertTargetVpnGatewayHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListTargetVpnGatewaysHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: DeleteUrlMapHttpRequest
|
|
field_entity_map:
|
|
urlMap: projectGlobalUrlMap
|
|
- message_name: GetUrlMapHttpRequest
|
|
field_entity_map:
|
|
urlMap: projectGlobalUrlMap
|
|
- message_name: InsertUrlMapHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: InvalidateCacheUrlMapHttpRequest
|
|
field_entity_map:
|
|
urlMap: projectGlobalUrlMap
|
|
- message_name: ListUrlMapsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: PatchUrlMapHttpRequest
|
|
field_entity_map:
|
|
urlMap: projectGlobalUrlMap
|
|
- message_name: UpdateUrlMapHttpRequest
|
|
field_entity_map:
|
|
urlMap: projectGlobalUrlMap
|
|
- message_name: ValidateUrlMapHttpRequest
|
|
field_entity_map:
|
|
urlMap: projectGlobalUrlMap
|
|
- message_name: AggregatedListVpnTunnelsHttpRequest
|
|
field_entity_map:
|
|
project: project
|
|
- message_name: DeleteVpnTunnelHttpRequest
|
|
field_entity_map:
|
|
vpnTunnel: projectRegionVpnTunnel
|
|
- message_name: GetVpnTunnelHttpRequest
|
|
field_entity_map:
|
|
vpnTunnel: projectRegionVpnTunnel
|
|
- message_name: InsertVpnTunnelHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: ListVpnTunnelsHttpRequest
|
|
field_entity_map:
|
|
region: projectRegion
|
|
- message_name: DeleteZoneOperationHttpRequest
|
|
field_entity_map:
|
|
operation: projectZoneOperation
|
|
- message_name: GetZoneOperationHttpRequest
|
|
field_entity_map:
|
|
operation: projectZoneOperation
|
|
- message_name: ListZoneOperationsHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: GetZoneHttpRequest
|
|
field_entity_map:
|
|
zone: projectZone
|
|
- message_name: ListZonesHttpRequest
|
|
field_entity_map:
|
|
project: project
|