Committer: @miraleung PiperOrigin-RevId: 359580699pull/644/head
parent
07932bb995
commit
d9b32e92fa
94 changed files with 0 additions and 30834 deletions
@ -1,300 +0,0 @@ |
||||
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.api.servicemanagement.v1 |
||||
python: |
||||
package_name: google.cloud.api.servicemanagement_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/api/servicemanagement/apiv1 |
||||
csharp: |
||||
package_name: Google.Api.Servicemanagement.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Api::Servicemanagement::V1 |
||||
php: |
||||
package_name: Google\Cloud\Api\Servicemanagement\V1 |
||||
nodejs: |
||||
package_name: servicemanagement.v1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.api.servicemanagement.v1.ServiceManager |
||||
# 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. |
||||
smoke_test: |
||||
method: ListServices |
||||
init_fields: |
||||
- producer_project_id=$PROJECT_ID |
||||
collections: [] |
||||
# 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. |
||||
# |
||||
# 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: ListServices |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- producer_project_id |
||||
- consumer_id |
||||
required_fields: |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: services |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
- name: GetService |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service_name |
||||
required_fields: |
||||
- service_name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
- name: CreateService |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service |
||||
required_fields: |
||||
- service |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: DeleteService |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service_name |
||||
required_fields: |
||||
- service_name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: UndeleteService |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service_name |
||||
required_fields: |
||||
- service_name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
# REVIEW: Could this operation take a long time? |
||||
timeout_millis: 60000 |
||||
- name: ListServiceConfigs |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service_name |
||||
required_fields: |
||||
- service_name |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: service_configs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
- name: GetServiceConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service_name |
||||
- config_id |
||||
- view |
||||
required_fields: |
||||
- service_name |
||||
- config_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
- name: CreateServiceConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service_name |
||||
- service_config |
||||
required_fields: |
||||
- service_name |
||||
- service_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SubmitConfigSource |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service_name |
||||
- config_source |
||||
- validate_only |
||||
required_fields: |
||||
- service_name |
||||
- config_source |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
- name: ListServiceRollouts |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service_name |
||||
- filter |
||||
required_fields: |
||||
- service_name |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: rollouts |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
- name: GetServiceRollout |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service_name |
||||
- rollout_id |
||||
required_fields: |
||||
- service_name |
||||
- rollout_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
- name: CreateServiceRollout |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service_name |
||||
- rollout |
||||
required_fields: |
||||
- service_name |
||||
- rollout |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
- name: GenerateConfigReport |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- new_config |
||||
- old_config |
||||
required_fields: |
||||
- new_config |
||||
- old_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
- name: EnableService |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service_name |
||||
- consumer_id |
||||
required_fields: |
||||
- service_name |
||||
- consumer_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
- name: DisableService |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- service_name |
||||
- consumer_id |
||||
required_fields: |
||||
- service_name |
||||
- consumer_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
@ -1,198 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.bigtable.data.v2 |
||||
interface_names: |
||||
google.bigtable.v2.Bigtable: BaseBigtableData |
||||
python: |
||||
package_name: google.cloud.bigtable_v2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/bigtable/apiv2 |
||||
csharp: |
||||
package_name: Google.Cloud.Bigtable.V2 |
||||
interface_names: |
||||
google.bigtable.v2.Bigtable: BigtableServiceApi |
||||
ruby: |
||||
package_name: Google::Cloud::Bigtable::V2 |
||||
release_level: GA |
||||
php: |
||||
package_name: Google\Cloud\Bigtable\V2 |
||||
nodejs: |
||||
package_name: bigtable.v2 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.bigtable.v2.Bigtable |
||||
collections: |
||||
- name_pattern: projects/{project}/instances/{instance}/tables/{table} |
||||
entity_name: table |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Cloud.Bigtable.Common.V2.TableName |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: idempotent_params |
||||
initial_retry_delay_millis: 10 |
||||
retry_delay_multiplier: 2 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 20000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 20000 |
||||
total_timeout_millis: 600000 |
||||
- name: non_idempotent_params |
||||
initial_retry_delay_millis: 10 |
||||
retry_delay_multiplier: 2 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 20000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 20000 |
||||
total_timeout_millis: 20000 |
||||
- name: read_rows_params |
||||
initial_retry_delay_millis: 10 |
||||
retry_delay_multiplier: 2 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 300000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 300000 |
||||
total_timeout_millis: 43200000 |
||||
- name: mutate_rows_params |
||||
initial_retry_delay_millis: 10 |
||||
retry_delay_multiplier: 2 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: ReadRows |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- table_name |
||||
required_fields: |
||||
- table_name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: read_rows_params |
||||
field_name_patterns: |
||||
table_name: table |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 43200000 |
||||
header_request_params: |
||||
- table_name |
||||
- name: SampleRowKeys |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- table_name |
||||
required_fields: |
||||
- table_name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: idempotent_params |
||||
field_name_patterns: |
||||
table_name: table |
||||
timeout_millis: 20000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- table_name |
||||
- name: MutateRow |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- table_name |
||||
- row_key |
||||
- mutations |
||||
required_fields: |
||||
- table_name |
||||
- row_key |
||||
- mutations |
||||
retry_codes_name: idempotent |
||||
retry_params_name: idempotent_params |
||||
field_name_patterns: |
||||
table_name: table |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 20000 |
||||
header_request_params: |
||||
- table_name |
||||
- name: MutateRows |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- table_name |
||||
- entries |
||||
required_fields: |
||||
- table_name |
||||
- entries |
||||
retry_codes_name: idempotent |
||||
retry_params_name: mutate_rows_params |
||||
field_name_patterns: |
||||
table_name: table |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
header_request_params: |
||||
- table_name |
||||
- name: CheckAndMutateRow |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- table_name |
||||
- row_key |
||||
- predicate_filter |
||||
- true_mutations |
||||
- false_mutations |
||||
# Note that one of {true_mutations,false_mutations} must be specified, but |
||||
# since they are not both required, we leave them as optional params. |
||||
required_fields: |
||||
- table_name |
||||
- row_key |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: non_idempotent_params |
||||
field_name_patterns: |
||||
table_name: table |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 20000 |
||||
header_request_params: |
||||
- table_name |
||||
- name: ReadModifyWriteRow |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- table_name |
||||
- row_key |
||||
- rules |
||||
required_fields: |
||||
- table_name |
||||
- row_key |
||||
- rules |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: non_idempotent_params |
||||
field_name_patterns: |
||||
table_name: table |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 20000 |
||||
header_request_params: |
||||
- table_name |
||||
resource_name_generation: |
||||
- message_name: ReadRowsRequest |
||||
field_entity_map: |
||||
table_name: table |
||||
- message_name: SampleRowKeysRequest |
||||
field_entity_map: |
||||
table_name: table |
||||
- message_name: MutateRowRequest |
||||
field_entity_map: |
||||
table_name: table |
||||
- message_name: MutateRowsRequest |
||||
field_entity_map: |
||||
table_name: table |
||||
- message_name: CheckAndMutateRowRequest |
||||
field_entity_map: |
||||
table_name: table |
||||
- message_name: ReadModifyWriteRowRequest |
||||
field_entity_map: |
||||
table_name: table |
@ -1,194 +0,0 @@ |
||||
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.asset.v1 |
||||
python: |
||||
package_name: google.cloud.asset_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/asset/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.Asset.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Asset::V1 |
||||
php: |
||||
package_name: Google\Cloud\Asset\V1 |
||||
nodejs: |
||||
package_name: asset.v1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.asset.v1.AssetService |
||||
# 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 |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: 'projects/{project}/feeds/{feed}' |
||||
entity_name: feed |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ExportAssets |
||||
required_fields: |
||||
- parent |
||||
- output_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
long_running: |
||||
return_type: google.cloud.asset.v1.ExportAssetsResponse |
||||
metadata_type: google.cloud.asset.v1.ExportAssetsRequest |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 600000 |
||||
- name: BatchGetAssetsHistory |
||||
required_fields: |
||||
- parent |
||||
- content_type |
||||
- read_time_window |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 600000 |
||||
- name: CreateFeed |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
- feed_id |
||||
- feed |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: GetFeed |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: feed |
||||
timeout_millis: 10000 |
||||
- name: ListFeeds |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
- name: UpdateFeed |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- feed |
||||
required_fields: |
||||
- feed |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
feed.name: feed |
||||
timeout_millis: 30000 |
||||
- name: DeleteFeed |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: feed |
||||
timeout_millis: 30000 |
||||
resource_name_generation: |
||||
- message_name: ExportAssetsRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: BatchGetAssetsHistoryRequest |
||||
field_entity_map: |
||||
parent: project |
@ -1,134 +0,0 @@ |
||||
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.asset.v1p1beta1 |
||||
python: |
||||
package_name: google.cloud.asset_v1p1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/asset/apiv1p1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Asset.V1p1beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Asset::V1p1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Asset\V1p1beta1 |
||||
nodejs: |
||||
package_name: asset.v1p1beta1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.asset.v1p1beta1.AssetService |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: SearchAllResources |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- scope |
||||
- query |
||||
- asset_types |
||||
required_fields: |
||||
- scope |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: results |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 15000 |
||||
- name: SearchAllIamPolicies |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- scope |
||||
- query |
||||
required_fields: |
||||
- scope |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: results |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 15000 |
@ -1,158 +0,0 @@ |
||||
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.asset.v1p2beta1 |
||||
python: |
||||
package_name: google.cloud.asset_v1p2beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/asset/apiv1p2beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Asset.V1p2beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Asset::V1p2beta1 |
||||
php: |
||||
package_name: Google\Cloud\Asset\V1p2beta1 |
||||
nodejs: |
||||
package_name: asset.v1p2beta1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.asset.v1p2beta1.AssetService |
||||
# 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}/feeds/{feed}' |
||||
entity_name: feed |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreateFeed |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
- feed_id |
||||
- feed |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: GetFeed |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: feed |
||||
timeout_millis: 10000 |
||||
- name: ListFeeds |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
- name: UpdateFeed |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- feed |
||||
required_fields: |
||||
- feed |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
feed.name: feed |
||||
timeout_millis: 30000 |
||||
- name: DeleteFeed |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: feed |
||||
timeout_millis: 30000 |
@ -1,117 +0,0 @@ |
||||
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.asset.v1p4beta1 |
||||
python: |
||||
package_name: google.cloud.asset_v1p4beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/asset/apiv1p4beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Asset.V1p2beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Asset::V1p2beta1 |
||||
php: |
||||
package_name: Google\Cloud\Asset\V1p2beta1 |
||||
nodejs: |
||||
package_name: asset.v1p4beta1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.asset.v1p4beta1.AssetService |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: AnalyzeIamPolicy |
||||
required_fields: |
||||
- analysis_query |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 300000 |
||||
- name: ExportIamPolicyAnalysis |
||||
required_fields: |
||||
- analysis_query |
||||
- output_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
long_running: |
||||
return_type: google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisResponse |
||||
metadata_type: google.cloud.asset.v1p4beta1.ExportIamPolicyAnalysisRequest |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 300000 |
@ -1,612 +0,0 @@ |
||||
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.automl.v1 |
||||
python: |
||||
package_name: google.cloud.automl_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/automl/apiv1 |
||||
release_level: GA |
||||
csharp: |
||||
package_name: Google.Cloud.AutoML.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::AutoML::V1 |
||||
php: |
||||
package_name: Google\Cloud\AutoMl\V1 |
||||
nodejs: |
||||
package_name: automl.v1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.automl.v1.AutoMl |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/datasets/{dataset} |
||||
entity_name: dataset |
||||
- name_pattern: projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec} |
||||
entity_name: annotation_spec |
||||
- name_pattern: projects/{project}/locations/{location}/models/{model} |
||||
entity_name: model |
||||
- name_pattern: projects/{project}/locations/{location}/models/{model}/modelEvaluations/{model_evaluation} |
||||
entity_name: model_evaluation |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreateDataset |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- dataset |
||||
required_fields: |
||||
- parent |
||||
- dataset |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.cloud.automl.v1.Dataset |
||||
metadata_type: google.cloud.automl.v1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
- name: UpdateDataset |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- dataset |
||||
- update_mask |
||||
required_fields: |
||||
- dataset |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
dataset.name: dataset |
||||
timeout_millis: 5000 |
||||
- name: GetDataset |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dataset |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
- name: ListDatasets |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: datasets |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
- name: DeleteDataset |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dataset |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
- name: ImportData |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- input_config |
||||
required_fields: |
||||
- name |
||||
- input_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dataset |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 3600000 |
||||
- name: ExportData |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- output_config |
||||
required_fields: |
||||
- name |
||||
- output_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dataset |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
- name: GetAnnotationSpec |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: annotation_spec |
||||
timeout_millis: 5000 |
||||
- name: CreateModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- model |
||||
required_fields: |
||||
- parent |
||||
- model |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.cloud.automl.v1.Model |
||||
metadata_type: google.cloud.automl.v1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
- name: GetModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
- name: UpdateModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- model |
||||
- update_mask |
||||
required_fields: |
||||
- model |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
- name: ListModels |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: model |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
- name: DeleteModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
- name: DeployModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 3600000 |
||||
- name: UndeployModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 3600000 |
||||
- name: ExportModel |
||||
required_fields: |
||||
- name |
||||
- output_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 5000 |
||||
- name: GetModelEvaluation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model_evaluation |
||||
timeout_millis: 60000 |
||||
- name: ListModelEvaluations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
- filter |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: model_evaluation |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: model |
||||
timeout_millis: 60000 |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.automl.v1.PredictionService |
||||
# 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}/locations/{location}/models/{model} |
||||
entity_name: model |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: Predict |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- payload |
||||
- params |
||||
required_fields: |
||||
- name |
||||
- payload |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: BatchPredict |
||||
required_fields: |
||||
- name |
||||
- input_config |
||||
- output_config |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- input_config |
||||
- output_config |
||||
- params |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
long_running: |
||||
return_type: google.cloud.automl.v1.BatchPredictResult |
||||
metadata_type: google.cloud.automl.v1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 86400000 |
||||
timeout_millis: 20000 |
||||
resource_name_generation: |
||||
- message_name: CreateDatasetRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: UpdateDatasetRequest |
||||
field_entity_map: |
||||
dataset.name: dataset |
||||
- message_name: GetDatasetRequest |
||||
field_entity_map: |
||||
name: dataset |
||||
- message_name: ListDatasetsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: DeleteDatasetRequest |
||||
field_entity_map: |
||||
name: dataset |
||||
- message_name: ImportDataRequest |
||||
field_entity_map: |
||||
name: dataset |
||||
- message_name: ExportDataRequest |
||||
field_entity_map: |
||||
name: dataset |
||||
- message_name: GetAnnotationSpecRequest |
||||
field_entity_map: |
||||
name: annotation_spec |
||||
- message_name: CreateModelRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetModelRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: UpdateModelRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: ListModelsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: DeleteModelRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: DeployModelRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: UndeployModelRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: ExportModelRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: GetModelEvaluationRequest |
||||
field_entity_map: |
||||
name: model_evaluation |
||||
- message_name: ListModelEvaluationsRequest |
||||
field_entity_map: |
||||
parent: model |
||||
- message_name: PredictRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: BatchPredictRequest |
||||
field_entity_map: |
||||
name: model |
@ -1,730 +0,0 @@ |
||||
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.automl.v1beta1 |
||||
python: |
||||
package_name: google.cloud.automl_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/automl/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Automl.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::AutoML::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\AutoMl\V1beta1 |
||||
nodejs: |
||||
package_name: automl.v1beta1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.automl.v1beta1.PredictionService |
||||
# 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}/locations/{location}/models/{model} |
||||
entity_name: model |
||||
# 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: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
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. |
||||
# |
||||
# 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: Predict |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- payload |
||||
- params |
||||
required_fields: |
||||
- name |
||||
- payload |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: BatchPredict |
||||
required_fields: |
||||
- name |
||||
- input_config |
||||
- output_config |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- input_config |
||||
- output_config |
||||
- params |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
long_running: |
||||
return_type: google.cloud.automl.v1beta1.BatchPredictResult |
||||
metadata_type: google.cloud.automl.v1beta1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 86400000 |
||||
timeout_millis: 20000 |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.automl.v1beta1.AutoMl |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/datasets/{dataset} |
||||
entity_name: dataset |
||||
- name_pattern: projects/{project}/locations/{location}/models/{model} |
||||
entity_name: model |
||||
- name_pattern: projects/{project}/locations/{location}/models/{model}/modelEvaluations/{model_evaluation} |
||||
entity_name: model_evaluation |
||||
- name_pattern: projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec} |
||||
entity_name: annotation_spec |
||||
- name_pattern: projects/{project}/locations/{location}/datasets/{dataset}/tableSpecs/{table_spec} |
||||
entity_name: table_spec |
||||
- name_pattern: projects/{project}/locations/{location}/datasets/{dataset}/tableSpecs/{table_spec}/columnSpecs/{column_spec} |
||||
entity_name: column_spec |
||||
# 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. |
||||
# |
||||
# 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: CreateDataset |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- dataset |
||||
required_fields: |
||||
- parent |
||||
- dataset |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
- name: UpdateDataset |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- dataset |
||||
required_fields: |
||||
- dataset |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
dataset.name: dataset |
||||
timeout_millis: 5000 |
||||
- name: GetDataset |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dataset |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
- name: ListDatasets |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: datasets |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
- name: DeleteDataset |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dataset |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1beta1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
- name: ImportData |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- input_config |
||||
required_fields: |
||||
- name |
||||
- input_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dataset |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1beta1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 86400000 |
||||
- name: ExportData |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- output_config |
||||
required_fields: |
||||
- name |
||||
- output_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dataset |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1beta1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
- name: CreateModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- model |
||||
required_fields: |
||||
- parent |
||||
- model |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.cloud.automl.v1beta1.Model |
||||
metadata_type: google.cloud.automl.v1beta1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 86400000 |
||||
- name: GetModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
- name: ListModels |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: model |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
- name: DeleteModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1beta1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
- name: DeployModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1beta1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 3600000 |
||||
- name: UndeployModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1beta1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 3600000 |
||||
- name: GetModelEvaluation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model_evaluation |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
- name: ExportModel |
||||
required_fields: |
||||
- name |
||||
- output_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1beta1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 5000 |
||||
- name: ExportEvaluatedExamples |
||||
required_fields: |
||||
- name |
||||
- output_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: model |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.automl.v1beta1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 5000 |
||||
- name: ListModelEvaluations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: model_evaluation |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: model |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 5000 |
||||
- name: GetAnnotationSpec |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: annotation_spec |
||||
timeout_millis: 5000 |
||||
- name: GetTableSpec |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: table_spec |
||||
timeout_millis: 5000 |
||||
- name: ListTableSpecs |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: table_specs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: dataset |
||||
timeout_millis: 5000 |
||||
- name: UpdateTableSpec |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- table_spec |
||||
required_fields: |
||||
- table_spec |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
table_spec.name: table_spec |
||||
timeout_millis: 5000 |
||||
- name: GetColumnSpec |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: column_spec |
||||
timeout_millis: 5000 |
||||
- name: ListColumnSpecs |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: column_specs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: table_spec |
||||
timeout_millis: 5000 |
||||
- name: UpdateColumnSpec |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- column_spec |
||||
required_fields: |
||||
- column_spec |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
column_spec.name: column_spec |
||||
timeout_millis: 5000 |
||||
resource_name_generation: |
||||
- message_name: CreateDatasetRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: UpdateDatasetRequest |
||||
field_entity_map: |
||||
dataset.name: dataset |
||||
- message_name: GetDatasetRequest |
||||
field_entity_map: |
||||
name: dataset |
||||
- message_name: ListDatasetsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: DeleteDatasetRequest |
||||
field_entity_map: |
||||
name: dataset |
||||
- message_name: ImportDataRequest |
||||
field_entity_map: |
||||
name: dataset |
||||
- message_name: ExportDataRequest |
||||
field_entity_map: |
||||
name: dataset |
||||
- message_name: CreateModelRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetModelRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: ListModelsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: DeleteModelRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: DeployModelRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: UndeployModelRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: ExportModelRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: ExportEvaluatedExamplesRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: GetModelEvaluationRequest |
||||
field_entity_map: |
||||
name: model_evaluation |
||||
- message_name: ListModelEvaluationsRequest |
||||
field_entity_map: |
||||
parent: model |
||||
- message_name: PredictRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: BatchPredictRequest |
||||
field_entity_map: |
||||
name: model |
||||
- message_name: GetAnnotationSpecRequest |
||||
field_entity_map: |
||||
name: annotation_spec |
||||
- message_name: GetTableSpecRequest |
||||
field_entity_map: |
||||
name: table_spec |
||||
- message_name: ListTableSpecsRequest |
||||
field_entity_map: |
||||
parent: dataset |
||||
- message_name: UpdateTableSpecRequest |
||||
field_entity_map: |
||||
table_spec.name: table_spec |
||||
- message_name: GetColumnSpecRequest |
||||
field_entity_map: |
||||
name: column_spec |
||||
- message_name: ListColumnSpecsRequest |
||||
field_entity_map: |
||||
parent: table_spec |
||||
- message_name: UpdateColumnSpecRequest |
||||
field_entity_map: |
||||
column_spec.name: column_spec |
@ -1,230 +0,0 @@ |
||||
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.bigquery.connection.v1beta1 |
||||
python: |
||||
package_name: google.cloud.bigquery.connection_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/bigquery/connection/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.BigQuery.Connection.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Bigquery::Connection::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\BigQuery\Connection\V1beta1 |
||||
nodejs: |
||||
package_name: connection.v1beta1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.bigquery.connection.v1beta1.ConnectionService |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/connections/{connection} |
||||
entity_name: connection |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreateConnection |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- connection |
||||
- connection_id |
||||
required_fields: |
||||
- parent |
||||
- connection |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetConnection |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: connection |
||||
timeout_millis: 60000 |
||||
- name: ListConnections |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- max_results |
||||
required_fields: |
||||
- parent |
||||
- max_results |
||||
page_streaming: |
||||
request: |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: connections |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: UpdateConnection |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- connection |
||||
- update_mask |
||||
required_fields: |
||||
- name |
||||
- connection |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: connection |
||||
timeout_millis: 60000 |
||||
- name: UpdateConnectionCredential |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- credential |
||||
required_fields: |
||||
- name |
||||
- credential |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: DeleteConnection |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: connection |
||||
timeout_millis: 60000 |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- options |
||||
required_fields: |
||||
- resource |
||||
- options |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: connection |
||||
timeout_millis: 60000 |
||||
- name: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: connection |
||||
timeout_millis: 60000 |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: connection |
||||
timeout_millis: 60000 |
@ -1,424 +0,0 @@ |
||||
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.bigquery.datatransfer.v1 |
||||
python: |
||||
package_name: google.cloud.bigquery_datatransfer_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/bigquery/datatransfer/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.BigQuery.DataTransfer.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Bigquery::DataTransfer::V1 |
||||
release_level: BETA |
||||
php: |
||||
package_name: Google\Cloud\BigQuery\DataTransfer\V1 |
||||
nodejs: |
||||
package_name: bigquery-data-transfer.v1 |
||||
domain_layer_location: google-cloud |
||||
collection_oneofs: |
||||
- oneof_name: parent_oneof |
||||
collection_names: |
||||
- project |
||||
- location |
||||
- oneof_name: data_source_oneof |
||||
collection_names: |
||||
- project_data_source |
||||
- location_data_source |
||||
- oneof_name: transfer_config_oneof |
||||
collection_names: |
||||
- project_transfer_config |
||||
- location_transfer_config |
||||
- oneof_name: run_oneof |
||||
collection_names: |
||||
- project_run |
||||
- location_run |
||||
collections: |
||||
- name_pattern: projects/{project} |
||||
entity_name: project |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/dataSources/{data_source} |
||||
entity_name: project_data_source |
||||
- name_pattern: projects/{project}/locations/{location}/dataSources/{data_source} |
||||
entity_name: location_data_source |
||||
- name_pattern: projects/{project}/transferConfigs/{transfer_config} |
||||
entity_name: project_transfer_config |
||||
- name_pattern: projects/{project}/locations/{location}/transferConfigs/{transfer_config} |
||||
entity_name: location_transfer_config |
||||
- name_pattern: projects/{project}/transferConfigs/{transfer_config}/runs/{run} |
||||
entity_name: project_run |
||||
- name_pattern: projects/{project}/locations/{location}/transferConfigs/{transfer_config}/runs/{run} |
||||
entity_name: location_run |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.bigquery.datatransfer.v1.DataTransferService |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
# Definition for smoke test. |
||||
smoke_test: |
||||
method: ListDataSources |
||||
init_fields: |
||||
- parent%project=$PROJECT_ID |
||||
- parent%location="us-central1" |
||||
# 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. |
||||
# |
||||
# 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: GetDataSource |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: data_source_oneof |
||||
timeout_millis: 20000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- name |
||||
- name: ListDataSources |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: data_sources |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: parent_oneof |
||||
timeout_millis: 20000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- parent |
||||
- name: CreateTransferConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- transfer_config |
||||
required_fields: |
||||
- parent |
||||
- transfer_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: parent_oneof |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- parent |
||||
- name: UpdateTransferConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- transfer_config |
||||
- update_mask |
||||
required_fields: |
||||
- transfer_config |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
transfer_config.name: transfer_config_oneof |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- transfer_config.name |
||||
- name: DeleteTransferConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: transfer_config_oneof |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- name |
||||
- name: GetTransferConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: transfer_config_oneof |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- name |
||||
- name: ListTransferConfigs |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: transfer_configs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: parent_oneof |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- parent |
||||
- name: ScheduleTransferRuns |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- start_time |
||||
- end_time |
||||
required_fields: |
||||
- parent |
||||
- start_time |
||||
- end_time |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: transfer_config_oneof |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- parent |
||||
- name: GetTransferRun |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: run_oneof |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- name |
||||
- name: DeleteTransferRun |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: run_oneof |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- name |
||||
- name: ListTransferRuns |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: transfer_runs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: transfer_config_oneof |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- parent |
||||
- name: ListTransferLogs |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: transfer_messages |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: run_oneof |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- parent |
||||
- name: CheckValidCreds |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: data_source_oneof |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
header_request_params: |
||||
- name |
||||
resource_name_generation: |
||||
- message_name: GetDataSourceRequest |
||||
field_entity_map: |
||||
name: data_source_oneof |
||||
- message_name: ListDataSourcesRequest |
||||
field_entity_map: |
||||
parent: parent_oneof |
||||
- message_name: CreateTransferConfigRequest |
||||
field_entity_map: |
||||
parent: parent_oneof |
||||
- message_name: GetTransferConfigRequest |
||||
field_entity_map: |
||||
name: transfer_config_oneof |
||||
- message_name: DeleteTransferConfigRequest |
||||
field_entity_map: |
||||
name: transfer_config_oneof |
||||
- message_name: GetTransferRunRequest |
||||
field_entity_map: |
||||
name: run_oneof |
||||
- message_name: DeleteTransferRunRequest |
||||
field_entity_map: |
||||
name: run_oneof |
||||
- message_name: ListTransferConfigsRequest |
||||
field_entity_map: |
||||
parent: parent_oneof |
||||
- message_name: ListTransferRunsRequest |
||||
field_entity_map: |
||||
parent: transfer_config_oneof |
||||
- message_name: ListTransferLogsRequest |
||||
field_entity_map: |
||||
parent: run_oneof |
||||
- message_name: CheckValidCredsRequest |
||||
field_entity_map: |
||||
name: data_source_oneof |
||||
- message_name: ScheduleTransferRunsRequest |
||||
field_entity_map: |
||||
parent: transfer_config_oneof |
||||
- message_name: DataSource |
||||
field_entity_map: |
||||
name: data_source_oneof |
||||
- message_name: TransferConfig |
||||
field_entity_map: |
||||
name: transfer_config_oneof |
||||
- message_name: TransferRun |
||||
field_entity_map: |
||||
name: run_oneof |
@ -1,383 +0,0 @@ |
||||
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.bigquery.reservation.v1 |
||||
python: |
||||
package_name: google.cloud.bigquery.reservation_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/bigquery/reservation/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.Bigquery.Reservation.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Bigquery::Reservation::V1 |
||||
php: |
||||
package_name: Google\Cloud\Bigquery\Reservation\V1 |
||||
nodejs: |
||||
package_name: reservation.v1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.bigquery.reservation.v1.ReservationService |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/capacityCommitments/{capacity_commitment} |
||||
entity_name: capacity_commitment |
||||
- name_pattern: projects/{project}/locations/{location}/reservations/{reservation} |
||||
entity_name: reservation |
||||
- name_pattern: projects/{project}/locations/{location}/reservations/{reservation}/assignments/{assignment} |
||||
entity_name: assignment |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreateReservation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- reservation_id |
||||
- reservation |
||||
required_fields: |
||||
- parent |
||||
- reservation_id |
||||
- reservation |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: ListReservations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: reservations |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetReservation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: reservation |
||||
timeout_millis: 60000 |
||||
- name: GetBiReservation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: reservation |
||||
timeout_millis: 60000 |
||||
- name: DeleteReservation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: reservation |
||||
timeout_millis: 60000 |
||||
- name: UpdateReservation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- reservation |
||||
- update_mask |
||||
required_fields: |
||||
- reservation |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
reservation.name: reservation |
||||
timeout_millis: 60000 |
||||
- name: UpdateBiReservation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- bi_reservation |
||||
- update_mask |
||||
required_fields: |
||||
- bi_reservation |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
reservation.name: reservation |
||||
timeout_millis: 60000 |
||||
- name: CreateCapacityCommitment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- capacity_commitment |
||||
required_fields: |
||||
- parent |
||||
- capacity_commitment |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: ListCapacityCommitments |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: capacity_commitments |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetCapacityCommitment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: capacity_commitment |
||||
timeout_millis: 60000 |
||||
- name: UpdateCapacityCommitment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- capacity_commitment |
||||
- update_mask |
||||
required_fields: |
||||
- capacity_commitment |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
capacity_commitment.name: capacity_commitment |
||||
timeout_millis: 60000 |
||||
- name: SplitCapacityCommitment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- slot_count |
||||
required_fields: |
||||
- name |
||||
- slot_count |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: capacity_commitment |
||||
timeout_millis: 60000 |
||||
- name: MergeCapacityCommitments |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- capacity_commitment_ids |
||||
required_fields: |
||||
- parent |
||||
- capacity_commitment_ids |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 6000 |
||||
- name: DeleteCapacityCommitment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: capacity_commitment |
||||
timeout_millis: 60000 |
||||
- name: CreateAssignment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- assignment |
||||
required_fields: |
||||
- parent |
||||
- assignment |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: reservation |
||||
timeout_millis: 60000 |
||||
- name: ListAssignments |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: assignments |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: reservation |
||||
timeout_millis: 60000 |
||||
- name: DeleteAssignment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: assignment |
||||
timeout_millis: 60000 |
||||
- name: SearchAssignments |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- query |
||||
required_fields: |
||||
- parent |
||||
- query |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: assignments |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: MoveAssignment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- destination_id |
||||
required_fields: |
||||
- name |
||||
- destination_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: assignment |
||||
timeout_millis: 60000 |
@ -1,383 +0,0 @@ |
||||
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.bigquery.reservation.v1beta1 |
||||
python: |
||||
package_name: google.cloud.bigquery_reservation_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/bigquery/reservation/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Bigquery.Reservation.V1beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Bigquery::Reservation::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Bigquery\Reservation\V1beta1 |
||||
nodejs: |
||||
package_name: reservation.v1beta1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.bigquery.reservation.v1beta1.ReservationService |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/capacityCommitments/{capacity_commitment} |
||||
entity_name: capacity_commitment |
||||
- name_pattern: projects/{project}/locations/{location}/reservations/{reservation} |
||||
entity_name: reservation |
||||
- name_pattern: projects/{project}/locations/{location}/reservations/{reservation}/assignments/{assignment} |
||||
entity_name: assignment |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreateReservation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- reservation_id |
||||
- reservation |
||||
required_fields: |
||||
- parent |
||||
- reservation_id |
||||
- reservation |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: ListReservations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: reservations |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetReservation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: reservation |
||||
timeout_millis: 60000 |
||||
- name: GetBiReservation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: reservation |
||||
timeout_millis: 60000 |
||||
- name: DeleteReservation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: reservation |
||||
timeout_millis: 60000 |
||||
- name: UpdateReservation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- reservation |
||||
- update_mask |
||||
required_fields: |
||||
- reservation |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
reservation.name: reservation |
||||
timeout_millis: 60000 |
||||
- name: UpdateBiReservation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- reservation |
||||
- update_mask |
||||
required_fields: |
||||
- reservation |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
reservation.name: reservation |
||||
timeout_millis: 60000 |
||||
- name: CreateCapacityCommitment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- capacity_commitment |
||||
required_fields: |
||||
- parent |
||||
- capacity_commitment |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: ListCapacityCommitments |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: capacity_commitments |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetCapacityCommitment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: capacity_commitment |
||||
timeout_millis: 60000 |
||||
- name: UpdateCapacityCommitment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- capacity_commitment |
||||
- update_mask |
||||
required_fields: |
||||
- capacity_commitment |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
capacity_commitment.name: capacity_commitment |
||||
timeout_millis: 60000 |
||||
- name: SplitCapacityCommitment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- slot_count |
||||
required_fields: |
||||
- name |
||||
- slot_count |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: capacity_commitment |
||||
timeout_millis: 60000 |
||||
- name: MergeCapacityCommitments |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- capacity_commitment_ids |
||||
required_fields: |
||||
- parent |
||||
- capacity_commitment_ids |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 6000 |
||||
- name: DeleteCapacityCommitment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: capacity_commitment |
||||
timeout_millis: 60000 |
||||
- name: CreateAssignment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- assignment |
||||
required_fields: |
||||
- parent |
||||
- assignment |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: reservation |
||||
timeout_millis: 60000 |
||||
- name: ListAssignments |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: assignments |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: reservation |
||||
timeout_millis: 60000 |
||||
- name: DeleteAssignment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: assignment |
||||
timeout_millis: 60000 |
||||
- name: SearchAssignments |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- query |
||||
required_fields: |
||||
- parent |
||||
- query |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: assignments |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: MoveAssignment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- destination_id |
||||
required_fields: |
||||
- name |
||||
- destination_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: assignment |
||||
timeout_millis: 60000 |
@ -1,84 +0,0 @@ |
||||
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.bigquery.storage.v1 |
||||
interface_names: |
||||
google.cloud.bigquery.storage.v1.BigQueryRead: BaseBigQueryRead |
||||
python: |
||||
package_name: google.cloud.bigquery_storage_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/bigquery/storage/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.BigQuery.Storage.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Bigquery::Storage::V1 |
||||
php: |
||||
package_name: Google\Cloud\BigQuery\Storage\V1 |
||||
nodejs: |
||||
package_name: storage.v1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.bigquery.storage.v1.BigQueryRead |
||||
collections: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- name: unary_streaming |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
# 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 |
||||
- name: create_read_session |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 120000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 120000 |
||||
total_timeout_millis: 600000 |
||||
- name: read_rows |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 86400000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 86400000 |
||||
total_timeout_millis: 86400000 |
||||
methods: |
||||
- name: CreateReadSession |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- read_session |
||||
- max_stream_count |
||||
retry_codes_name: idempotent |
||||
retry_params_name: create_read_session |
||||
timeout_millis: 60000 |
||||
- name: ReadRows |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- read_stream |
||||
- offset |
||||
retry_codes_name: unary_streaming |
||||
retry_params_name: read_rows |
||||
timeout_millis: 86400000 |
||||
- name: SplitReadStream |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,18 +0,0 @@ |
||||
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.bigquery.storage.v1alpha2 |
||||
python: |
||||
package_name: google.cloud.bigquery.storage_v1alpha2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/bigquery/storage/apiv1alpha2 |
||||
csharp: |
||||
package_name: Google.Cloud.Bigquery.Storage.V1alpha2 |
||||
ruby: |
||||
package_name: Google::Cloud::Bigquery::Storage::V1alpha2 |
||||
php: |
||||
package_name: Google\Cloud\Bigquery\Storage\V1alpha2 |
||||
nodejs: |
||||
package_name: storage.v1alpha2 |
@ -1,202 +0,0 @@ |
||||
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.bigquery.storage.v1beta1 |
||||
interface_names: |
||||
google.cloud.bigquery.storage.v1beta1.BigQueryStorage: BaseBigQueryStorage |
||||
python: |
||||
package_name: google.cloud.bigquery_storage_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/bigquery/storage/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Bigquery.Storage.V1beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Bigquery::Storage::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Bigquery\Storage\V1beta1 |
||||
nodejs: |
||||
package_name: storage.v1beta1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.bigquery.storage.v1beta1.BigQueryStorage |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- name: unary_streaming |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- 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 |
||||
# CreateReadSession performs some heavyweight table resolution work before |
||||
# returning to the caller, and can have DEADLINE_EXCEEDED issues for large |
||||
# (> 10TB) tables with the default retry settings. |
||||
- name: create_read_session |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 120000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 120000 |
||||
total_timeout_millis: 600000 |
||||
# ReadRows is a unary streaming RPC for which the concept of a deadline |
||||
# doesn't necessarily make sense -- the server will keep sending back data |
||||
# as long as the end of the table hasn't been reached. We set a deadline |
||||
# here of 86400000 milliseconds, or one day, but in practice we should use |
||||
# some other mechanism here (gRPC keepalive?) and disallow client-side |
||||
# deadlines entirely. |
||||
- name: read_rows |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 86400000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 86400000 |
||||
total_timeout_millis: 86400000 |
||||
# 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. |
||||
# |
||||
# 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: CreateReadSession |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- table_reference |
||||
- parent |
||||
- requested_streams |
||||
required_fields: |
||||
- table_reference |
||||
- parent |
||||
retry_codes_name: idempotent |
||||
retry_params_name: create_read_session |
||||
timeout_millis: 60000 |
||||
header_request_params: |
||||
- table_reference.project_id |
||||
- table_reference.dataset_id |
||||
- name: ReadRows |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- read_position |
||||
required_fields: |
||||
- read_position |
||||
retry_codes_name: unary_streaming |
||||
retry_params_name: read_rows |
||||
timeout_millis: 86400000 |
||||
header_request_params: |
||||
- read_position.stream.name |
||||
- name: BatchCreateReadSessionStreams |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- session |
||||
- requested_streams |
||||
required_fields: |
||||
- session |
||||
- requested_streams |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
header_request_params: |
||||
- session.name |
||||
- name: FinalizeStream |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- stream |
||||
required_fields: |
||||
- stream |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
header_request_params: |
||||
- stream.name |
||||
- name: SplitReadStream |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- original_stream |
||||
required_fields: |
||||
- original_stream |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
header_request_params: |
||||
- original_stream.name |
@ -1,84 +0,0 @@ |
||||
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.bigquery.storage.v1beta2 |
||||
interface_names: |
||||
google.cloud.bigquery.storage.v1beta2.BigQueryRead: BaseBigQueryRead |
||||
python: |
||||
package_name: google.cloud.bigquery_storage_v1beta2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/bigquery/storage/apiv1beta2 |
||||
csharp: |
||||
package_name: Google.Cloud.Bigquery.Storage.V1beta2 |
||||
ruby: |
||||
package_name: Google::Cloud::Bigquery::Storage::V1beta2 |
||||
php: |
||||
package_name: Google\Cloud\Bigquery\Storage\V1beta2 |
||||
nodejs: |
||||
package_name: storage.v1beta2 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.bigquery.storage.v1beta2.BigQueryRead |
||||
collections: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- name: unary_streaming |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
# 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 |
||||
- name: create_read_session |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 120000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 120000 |
||||
total_timeout_millis: 600000 |
||||
- name: read_rows |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 86400000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 86400000 |
||||
total_timeout_millis: 86400000 |
||||
methods: |
||||
- name: CreateReadSession |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- read_session |
||||
- max_stream_count |
||||
retry_codes_name: idempotent |
||||
retry_params_name: create_read_session |
||||
timeout_millis: 60000 |
||||
- name: ReadRows |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- read_stream |
||||
- offset |
||||
retry_codes_name: unary_streaming |
||||
retry_params_name: read_rows |
||||
timeout_millis: 86400000 |
||||
- name: SplitReadStream |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,175 +0,0 @@ |
||||
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.bigquery.v2 |
||||
python: |
||||
package_name: google.cloud.bigquery_v2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/bigquery/apiv2 |
||||
csharp: |
||||
package_name: Google.Cloud.Bigquery.V2 |
||||
ruby: |
||||
package_name: Google::Cloud::Bigquery::V2 |
||||
php: |
||||
package_name: Google\Cloud\Bigquery\V2 |
||||
nodejs: |
||||
package_name: bigquery.v2 |
||||
# 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.cloud.bigquery.v2.ModelService |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: GetModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- dataset_id |
||||
- model_id |
||||
required_fields: |
||||
- project_id |
||||
- dataset_id |
||||
- model_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ListModels |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- dataset_id |
||||
- max_results |
||||
required_fields: |
||||
- project_id |
||||
- dataset_id |
||||
page_streaming: |
||||
request: |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: models |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: PatchModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- dataset_id |
||||
- model_id |
||||
- model |
||||
required_fields: |
||||
- project_id |
||||
- dataset_id |
||||
- model_id |
||||
- model |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: DeleteModel |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- dataset_id |
||||
- model_id |
||||
required_fields: |
||||
- project_id |
||||
- dataset_id |
||||
- model_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,197 +0,0 @@ |
||||
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.binaryauthorization.v1beta1 |
||||
python: |
||||
package_name: google.cloud.binaryauthorization_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/binaryauthorization/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Binaryauthorization.V1beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Binaryauthorization::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Binaryauthorization\V1beta1 |
||||
nodejs: |
||||
package_name: binaryauthorization.v1beta1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.cloud.binaryauthorization.v1beta1.BinauthzManagementServiceV1Beta1 |
||||
# 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}/attestors/{attestor} |
||||
entity_name: attestor |
||||
- name_pattern: projects/{project}/policy |
||||
entity_name: project_policy |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: GetPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: project_policy |
||||
timeout_millis: 60000 |
||||
- name: UpdatePolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- policy |
||||
required_fields: |
||||
- policy |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
policy.name: project_policy |
||||
timeout_millis: 60000 |
||||
- name: CreateAttestor |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- attestor_id |
||||
- attestor |
||||
required_fields: |
||||
- parent |
||||
- attestor_id |
||||
- attestor |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: GetAttestor |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: attestor |
||||
timeout_millis: 60000 |
||||
- name: UpdateAttestor |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- attestor |
||||
required_fields: |
||||
- attestor |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
attestor.name: attestor |
||||
timeout_millis: 60000 |
||||
- name: ListAttestors |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: attestors |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: DeleteAttestor |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: attestor |
||||
timeout_millis: 60000 |
@ -1,586 +0,0 @@ |
||||
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.datacatalog.v1beta1 |
||||
python: |
||||
package_name: google.cloud.datacatalog_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/datacatalog/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Datacatalog.V1beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Datacatalog::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Datacatalog\V1beta1 |
||||
nodejs: |
||||
package_name: datacatalog.v1beta1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.datacatalog.v1beta1.DataCatalog |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/entryGroups/{entry_group} |
||||
entity_name: entry_group |
||||
- name_pattern: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry} |
||||
entity_name: entry |
||||
- name_pattern: projects/{project}/locations/{location}/entryGroups/{entry_group}/entries/{entry}/tags/{tag} |
||||
entity_name: tag |
||||
- name_pattern: projects/{project}/locations/{location}/tagTemplates/{tag_template} |
||||
entity_name: tag_template |
||||
- name_pattern: projects/{project}/locations/{location}/tagTemplates/{tag_template}/fields/{field} |
||||
entity_name: field |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: SearchCatalog |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- scope |
||||
- query |
||||
- order_by |
||||
required_fields: |
||||
- scope |
||||
- query |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: results |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
samples: |
||||
standalone: |
||||
- value_sets: [datacatalog_search] |
||||
region_tag: datacatalog_search |
||||
sample_value_sets: |
||||
- id: datacatalog_search |
||||
description: Search Catalog |
||||
parameters: |
||||
defaults: |
||||
- scope.include_project_ids[0] = "[Google Cloud Project ID]" |
||||
- scope.include_gcp_public_datasets = false |
||||
- query = "[String in search query syntax]" |
||||
attributes: |
||||
- parameter: scope.include_project_ids[0] |
||||
description: Your Google Cloud project ID. |
||||
sample_argument_name: include_project_id |
||||
- parameter: scope.include_gcp_public_datasets |
||||
description: If true, include Google Cloud Platform (GCP) public datasets in the search results. |
||||
sample_argument_name: include_gcp_public_datasets |
||||
- parameter: query |
||||
description: | |
||||
Your query string. |
||||
See: https://cloud.google.com/data-catalog/docs/how-to/search-reference |
||||
Example: system=bigquery type=dataset |
||||
sample_argument_name: query |
||||
on_success: |
||||
- print: ["Result type: %s", $resp.search_result_type] |
||||
- print: ["Result subtype: %s", $resp.search_result_subtype] |
||||
- print: ["Relative resource name: %s", $resp.relative_resource_name] |
||||
- print: ["Linked resource: %s\n", $resp.linked_resource] |
||||
- name: CreateEntryGroup |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- entry_group_id |
||||
- entry_group |
||||
required_fields: |
||||
- parent |
||||
- entry_group_id |
||||
- entry_group |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetEntryGroup |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- read_mask |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: entry_group |
||||
timeout_millis: 60000 |
||||
- name: DeleteEntryGroup |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: entry_group |
||||
timeout_millis: 60000 |
||||
- name: CreateEntry |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- entry_id |
||||
- entry |
||||
required_fields: |
||||
- parent |
||||
- entry_id |
||||
- entry |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: entry_group |
||||
timeout_millis: 60000 |
||||
- name: UpdateEntry |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- entry |
||||
- update_mask |
||||
required_fields: |
||||
- entry |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
entry.name: entry |
||||
timeout_millis: 60000 |
||||
- name: DeleteEntry |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: entry |
||||
timeout_millis: 60000 |
||||
- name: GetEntry |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: entry |
||||
timeout_millis: 60000 |
||||
samples: |
||||
standalone: |
||||
- region_tag: datacatalog_get_entry |
||||
value_sets: [datacatalog_get_entry] |
||||
sample_value_sets: |
||||
- id: datacatalog_get_entry |
||||
description: Get Entry |
||||
parameters: |
||||
defaults: |
||||
# The full "name" is of the format: "projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}" |
||||
# Each part of the name can be separated out into its own parameter using `name%[part name]` |
||||
- name%project = "[Google Cloud Project ID]" |
||||
- name%location = "[Google Cloud Location ID]" |
||||
- name%entry_group = "[Entry Group ID]" |
||||
- name%entry = "[Entry ID]" |
||||
attributes: |
||||
- parameter: name%project |
||||
description: "Your Google Cloud project ID" |
||||
sample_argument_name: project_id |
||||
- parameter: name%location |
||||
description: "Google Cloud region, e.g. us-central1" |
||||
sample_argument_name: location_id |
||||
- parameter: name%entry_group |
||||
description: "ID of the Entry Group, e.g. @bigquery, @pubsub, my_entry_group" |
||||
sample_argument_name: entry_group_id |
||||
- parameter: name%entry |
||||
description: "ID of the Entry" |
||||
sample_argument_name: entry_id |
||||
on_success: |
||||
- define: entry = $resp |
||||
- print: ["Entry name: %s", entry.name] |
||||
- print: ["Entry type: %s", entry.type] |
||||
- print: ["Linked resource: %s", entry.linked_resource] |
||||
- name: LookupEntry |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
samples: |
||||
standalone: |
||||
- region_tag: datacatalog_lookup_entry |
||||
value_sets: [datacatalog_lookup_entry] |
||||
- region_tag: datacatalog_lookup_entry_sql_resource |
||||
value_sets: [datacatalog_lookup_entry_sql_resource] |
||||
sample_value_sets: |
||||
- id: datacatalog_lookup_entry |
||||
description: Lookup Entry |
||||
parameters: |
||||
defaults: |
||||
- linked_resource = "[Full Resource Name]" |
||||
attributes: |
||||
- parameter: linked_resource |
||||
sample_argument_name: resource_name |
||||
description: | |
||||
The full name of the Google Cloud Platform resource the Data Catalog entry represents. |
||||
See: https://cloud.google.com/apis/design/resource_names#full_resource_name |
||||
Examples: |
||||
//bigquery.googleapis.com/projects/bigquery-public-data/datasets/new_york_taxi_trips/tables/taxi_zone_geom |
||||
//pubsub.googleapis.com/projects/pubsub-public-data/topics/taxirides-realtime |
||||
on_success: |
||||
- define: entry = $resp |
||||
- print: ["Entry name: %s", entry.name] |
||||
- print: ["Entry type: %s", entry.type] |
||||
- print: ["Linked resource: %s", entry.linked_resource] |
||||
- id: datacatalog_lookup_entry_sql_resource |
||||
description: Lookup Entry using SQL resource |
||||
parameters: |
||||
defaults: |
||||
- sql_resource = "[SQL Resource Name]" |
||||
attributes: |
||||
- parameter: sql_resource |
||||
sample_argument_name: sql_name |
||||
description: | |
||||
The SQL name of the Google Cloud Platform resource the Data Catalog entry represents. |
||||
Examples: |
||||
bigquery.table.`bigquery-public-data`.new_york_taxi_trips.taxi_zone_geom |
||||
pubsub.topic.`pubsub-public-data`.`taxirides-realtime` |
||||
on_success: |
||||
- define: entry = $resp |
||||
- print: ["Entry name: %s", entry.name] |
||||
- print: ["Entry type: %s", entry.type] |
||||
- print: ["Linked resource: %s", entry.linked_resource] |
||||
- name: ListEntryGroups |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: ListEntries |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: entry_group |
||||
timeout_millis: 60000 |
||||
- name: UpdateEntryGroup |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- entry_group |
||||
- parameters: |
||||
- entry_group |
||||
- update_mask |
||||
required_fields: |
||||
- entry_group |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
entry_group.name: entry_group |
||||
timeout_millis: 60000 |
||||
- name: CreateTagTemplate |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- tag_template_id |
||||
- tag_template |
||||
required_fields: |
||||
- parent |
||||
- tag_template_id |
||||
- tag_template |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetTagTemplate |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: tag_template |
||||
timeout_millis: 60000 |
||||
- name: UpdateTagTemplate |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- tag_template |
||||
- update_mask |
||||
required_fields: |
||||
- tag_template |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
tag_template.name: tag_template |
||||
timeout_millis: 60000 |
||||
- name: DeleteTagTemplate |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- force |
||||
required_fields: |
||||
- name |
||||
- force |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: tag_template |
||||
timeout_millis: 60000 |
||||
- name: CreateTagTemplateField |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- tag_template_field_id |
||||
- tag_template_field |
||||
required_fields: |
||||
- parent |
||||
- tag_template_field_id |
||||
- tag_template_field |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: tag_template |
||||
timeout_millis: 60000 |
||||
- name: UpdateTagTemplateField |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- tag_template_field |
||||
- update_mask |
||||
required_fields: |
||||
- name |
||||
- tag_template_field |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: field |
||||
timeout_millis: 60000 |
||||
- name: RenameTagTemplateField |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- new_tag_template_field_id |
||||
required_fields: |
||||
- name |
||||
- new_tag_template_field_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: field |
||||
timeout_millis: 60000 |
||||
- name: DeleteTagTemplateField |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- force |
||||
required_fields: |
||||
- name |
||||
- force |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: field |
||||
timeout_millis: 60000 |
||||
- name: CreateTag |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- tag |
||||
required_fields: |
||||
- parent |
||||
- tag |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: entry |
||||
timeout_millis: 60000 |
||||
- name: UpdateTag |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- tag |
||||
- update_mask |
||||
required_fields: |
||||
- tag |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
tag.name: tag |
||||
timeout_millis: 60000 |
||||
- name: DeleteTag |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: tag |
||||
timeout_millis: 60000 |
||||
- name: ListTags |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: tags |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: entry |
||||
timeout_millis: 60000 |
||||
- name: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: tag_template |
||||
timeout_millis: 60000 |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: tag_template |
||||
timeout_millis: 60000 |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: tag_template |
||||
timeout_millis: 60000 |
@ -1,669 +0,0 @@ |
||||
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.datalabeling.v1beta1 |
||||
python: |
||||
package_name: google.cloud.datalabeling_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/datalabeling/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Datalabeling.V1beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Datalabeling::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Datalabeling\V1beta1 |
||||
nodejs: |
||||
package_name: datalabeling.v1beta1 |
||||
# The configuration for the license header to put on generated files. |
||||
license_header: |
||||
# 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.cloud.datalabeling.v1beta1.DataLabelingService |
||||
# 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}/annotationSpecSets/{annotation_spec_set} |
||||
entity_name: annotation_spec_set |
||||
- name_pattern: projects/{project}/datasets/{dataset} |
||||
entity_name: dataset |
||||
- name_pattern: projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset} |
||||
entity_name: annotated_dataset |
||||
- name_pattern: projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}/examples/{example} |
||||
entity_name: example |
||||
- name_pattern: projects/{project}/datasets/{dataset}/dataItems/{data_item} |
||||
entity_name: data_item |
||||
- name_pattern: projects/{project}/instructions/{instruction} |
||||
entity_name: instruction |
||||
- name_pattern: projects/{project}/datasets/{dataset}/evaluations/{evaluation} |
||||
entity_name: evaluation |
||||
- name_pattern: projects/{project}/evaluationJobs/{evaluation_job} |
||||
entity_name: evaluation_job |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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: 30000 |
||||
initial_rpc_timeout_millis: 20000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 20000 |
||||
total_timeout_millis: 300000 |
||||
# 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. |
||||
# |
||||
# 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: CreateDataset |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- dataset |
||||
required_fields: |
||||
- parent |
||||
- dataset |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 30000 |
||||
- name: GetDataset |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dataset |
||||
timeout_millis: 30000 |
||||
- name: ListDatasets |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: datasets |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 30000 |
||||
- name: DeleteDataset |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dataset |
||||
timeout_millis: 30000 |
||||
- name: ImportData |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- input_config |
||||
required_fields: |
||||
- name |
||||
- input_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dataset |
||||
long_running: |
||||
return_type: google.cloud.datalabeling.v1beta1.ImportDataOperationResponse |
||||
metadata_type: google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 30000 |
||||
- name: ExportData |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- annotated_dataset |
||||
- filter |
||||
- output_config |
||||
required_fields: |
||||
- name |
||||
- annotated_dataset |
||||
- output_config |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dataset |
||||
long_running: |
||||
return_type: google.cloud.datalabeling.v1beta1.ExportDataOperationResponse |
||||
metadata_type: google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 30000 |
||||
- name: GetDataItem |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: data_item |
||||
timeout_millis: 30000 |
||||
- name: ListDataItems |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: data_items |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: dataset |
||||
timeout_millis: 30000 |
||||
- name: GetAnnotatedDataset |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: annotated_dataset |
||||
timeout_millis: 30000 |
||||
- name: ListAnnotatedDatasets |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: annotated_datasets |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: dataset |
||||
timeout_millis: 30000 |
||||
- name: LabelImage |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- basic_config |
||||
- feature |
||||
required_fields: |
||||
- parent |
||||
- basic_config |
||||
- feature |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: dataset |
||||
long_running: |
||||
return_type: google.cloud.datalabeling.v1beta1.AnnotatedDataset |
||||
metadata_type: google.cloud.datalabeling.v1beta1.LabelOperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 30000 |
||||
- name: LabelVideo |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- basic_config |
||||
- feature |
||||
required_fields: |
||||
- parent |
||||
- basic_config |
||||
- feature |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: dataset |
||||
long_running: |
||||
return_type: google.cloud.datalabeling.v1beta1.AnnotatedDataset |
||||
metadata_type: google.cloud.datalabeling.v1beta1.LabelOperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 30000 |
||||
- name: LabelText |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- basic_config |
||||
- feature |
||||
required_fields: |
||||
- parent |
||||
- basic_config |
||||
- feature |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: dataset |
||||
long_running: |
||||
return_type: google.cloud.datalabeling.v1beta1.AnnotatedDataset |
||||
metadata_type: google.cloud.datalabeling.v1beta1.LabelOperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 30000 |
||||
- name: GetExample |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- filter |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: example |
||||
timeout_millis: 30000 |
||||
- name: ListExamples |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: examples |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: annotated_dataset |
||||
timeout_millis: 30000 |
||||
- name: CreateAnnotationSpecSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- annotation_spec_set |
||||
required_fields: |
||||
- parent |
||||
- annotation_spec_set |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 30000 |
||||
- name: GetAnnotationSpecSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: annotation_spec_set |
||||
timeout_millis: 30000 |
||||
- name: ListAnnotationSpecSets |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: annotation_spec_sets |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 30000 |
||||
- name: DeleteAnnotationSpecSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: annotation_spec_set |
||||
timeout_millis: 30000 |
||||
- name: CreateInstruction |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- instruction |
||||
required_fields: |
||||
- parent |
||||
- instruction |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
long_running: |
||||
return_type: google.cloud.datalabeling.v1beta1.Instruction |
||||
metadata_type: google.cloud.datalabeling.v1beta1.CreateInstructionMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 30000 |
||||
- name: GetInstruction |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instruction |
||||
timeout_millis: 30000 |
||||
- name: ListInstructions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: instructions |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 30000 |
||||
- name: DeleteInstruction |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instruction |
||||
timeout_millis: 30000 |
||||
- name: GetEvaluation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: evaluation |
||||
timeout_millis: 60000 |
||||
- name: SearchEvaluations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
- filter |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: evaluations |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: SearchExampleComparisons |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: example_comparisons |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: evaluation |
||||
timeout_millis: 60000 |
||||
- name: CreateEvaluationJob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- job |
||||
required_fields: |
||||
- parent |
||||
- job |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: UpdateEvaluationJob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- evaluation_job |
||||
- update_mask |
||||
required_fields: |
||||
- evaluation_job |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
evaluation_job.name: evaluation_job |
||||
timeout_millis: 60000 |
||||
- name: GetEvaluationJob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: evaluation_job |
||||
timeout_millis: 60000 |
||||
- name: PauseEvaluationJob |
||||
# params. |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: evaluation_job |
||||
timeout_millis: 60000 |
||||
- name: ResumeEvaluationJob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: evaluation_job |
||||
timeout_millis: 60000 |
||||
- name: DeleteEvaluationJob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: evaluation_job |
||||
timeout_millis: 60000 |
||||
- name: ListEvaluationJobs |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
- filter |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: evaluation_jobs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
@ -1,778 +0,0 @@ |
||||
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.dataproc.v1 |
||||
python: |
||||
package_name: google.cloud.dataproc_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/dataproc/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.Dataproc.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Dataproc::V1 |
||||
php: |
||||
package_name: Google\Cloud\Dataproc\V1 |
||||
nodejs: |
||||
package_name: dataproc.v1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.dataproc.v1.AutoscalingPolicyService |
||||
# 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: region |
||||
- name_pattern: projects/{project}/regions/{region}/autoscalingPolicies/{autoscaling_policy} |
||||
entity_name: autoscaling_policy |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreateAutoscalingPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- policy |
||||
required_fields: |
||||
- parent |
||||
- policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: region |
||||
timeout_millis: 60000 |
||||
- name: UpdateAutoscalingPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- policy |
||||
required_fields: |
||||
- policy |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
policy.name: autoscaling_policy |
||||
timeout_millis: 60000 |
||||
- name: GetAutoscalingPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: autoscaling_policy |
||||
timeout_millis: 60000 |
||||
- name: ListAutoscalingPolicies |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: policies |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: region |
||||
timeout_millis: 60000 |
||||
- name: DeleteAutoscalingPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: autoscaling_policy |
||||
timeout_millis: 60000 |
||||
- name: google.cloud.dataproc.v1.ClusterController |
||||
# 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: [] |
||||
# Definition for smoke test. |
||||
smoke_test: |
||||
method: ListClusters |
||||
init_fields: |
||||
- project_id=$PROJECT_ID |
||||
- region="global" |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- INTERNAL |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- name: non_idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
# 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: 10000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 10000 |
||||
total_timeout_millis: 300000 |
||||
# 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. |
||||
# |
||||
# 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: CreateCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- cluster |
||||
required_fields: |
||||
- project_id |
||||
- region |
||||
- cluster |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
long_running: |
||||
return_type: google.cloud.dataproc.v1.Cluster |
||||
metadata_type: google.cloud.dataproc.v1.ClusterOperationMetadata |
||||
implements_delete: false |
||||
implements_cancel: false |
||||
initial_poll_delay_millis: 1000 |
||||
poll_delay_multiplier: 2 |
||||
max_poll_delay_millis: 10000 |
||||
total_poll_timeout_millis: 900000 |
||||
- name: UpdateCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- cluster_name |
||||
- cluster |
||||
- update_mask |
||||
required_fields: |
||||
- project_id |
||||
- region |
||||
- cluster_name |
||||
- cluster |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
long_running: |
||||
return_type: google.cloud.dataproc.v1.Cluster |
||||
metadata_type: google.cloud.dataproc.v1.ClusterOperationMetadata |
||||
implements_delete: false |
||||
implements_cancel: false |
||||
initial_poll_delay_millis: 1000 |
||||
poll_delay_multiplier: 2 |
||||
max_poll_delay_millis: 10000 |
||||
total_poll_timeout_millis: 900000 |
||||
- name: DeleteCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- cluster_name |
||||
required_fields: |
||||
- project_id |
||||
- region |
||||
- cluster_name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.dataproc.v1.ClusterOperationMetadata |
||||
implements_delete: false |
||||
implements_cancel: false |
||||
initial_poll_delay_millis: 1000 |
||||
poll_delay_multiplier: 2 |
||||
max_poll_delay_millis: 10000 |
||||
total_poll_timeout_millis: 900000 |
||||
- name: GetCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- cluster_name |
||||
required_fields: |
||||
- project_id |
||||
- region |
||||
- cluster_name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ListClusters |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- filter |
||||
required_fields: |
||||
- project_id |
||||
- region |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: clusters |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: DiagnoseCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- cluster_name |
||||
required_fields: |
||||
- project_id |
||||
- region |
||||
- cluster_name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.dataproc.v1.DiagnoseClusterResults |
||||
implements_delete: false |
||||
implements_cancel: false |
||||
initial_poll_delay_millis: 1000 |
||||
poll_delay_multiplier: 2 |
||||
max_poll_delay_millis: 10000 |
||||
total_poll_timeout_millis: 30000 |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.dataproc.v1.JobController |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- INTERNAL |
||||
- UNAVAILABLE |
||||
- name: non_idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
# 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: 30000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 30000 |
||||
total_timeout_millis: 900000 |
||||
# 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. |
||||
# |
||||
# 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: SubmitJob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- job |
||||
required_fields: |
||||
- project_id |
||||
- region |
||||
- job |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: GetJob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- job_id |
||||
required_fields: |
||||
- project_id |
||||
- region |
||||
- job_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: ListJobs |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- filter |
||||
required_fields: |
||||
- project_id |
||||
- region |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: jobs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: UpdateJob |
||||
required_fields: |
||||
- project_id |
||||
- region |
||||
- job_id |
||||
- job |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: CancelJob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- job_id |
||||
required_fields: |
||||
- project_id |
||||
- region |
||||
- job_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: DeleteJob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- region |
||||
- job_id |
||||
required_fields: |
||||
- project_id |
||||
- region |
||||
- job_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.dataproc.v1.WorkflowTemplateService |
||||
# 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: region |
||||
- name_pattern: projects/{project}/regions/{region}/workflowTemplates/{workflow_template} |
||||
entity_name: workflow_template |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- INTERNAL |
||||
- UNAVAILABLE |
||||
- name: non_idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
# 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. |
||||
# |
||||
# 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: CreateWorkflowTemplate |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- template |
||||
required_fields: |
||||
- parent |
||||
- template |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: region |
||||
timeout_millis: 30000 |
||||
- name: GetWorkflowTemplate |
||||
# params. |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: workflow_template |
||||
timeout_millis: 60000 |
||||
- name: InstantiateWorkflowTemplate |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- parameters: |
||||
- name |
||||
- parameters |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: workflow_template |
||||
timeout_millis: 60000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.dataproc.v1.WorkflowMetadata |
||||
implements_delete: false |
||||
implements_cancel: false |
||||
initial_poll_delay_millis: 1000 |
||||
poll_delay_multiplier: 2 |
||||
max_poll_delay_millis: 10000 |
||||
total_poll_timeout_millis: 43200000 |
||||
- name: InstantiateInlineWorkflowTemplate |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- template |
||||
required_fields: |
||||
- parent |
||||
- template |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: region |
||||
timeout_millis: 60000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.dataproc.v1.WorkflowMetadata |
||||
implements_delete: false |
||||
implements_cancel: false |
||||
initial_poll_delay_millis: 1000 |
||||
poll_delay_multiplier: 2 |
||||
max_poll_delay_millis: 10000 |
||||
total_poll_timeout_millis: 43200000 |
||||
- name: UpdateWorkflowTemplate |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- template |
||||
required_fields: |
||||
- template |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
template.name: workflow_template |
||||
timeout_millis: 60000 |
||||
- name: ListWorkflowTemplates |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: templates |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: region |
||||
timeout_millis: 60000 |
||||
- name: DeleteWorkflowTemplate |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: workflow_template |
||||
timeout_millis: 60000 |
||||
resource_name_generation: |
||||
- message_name: WorkflowTemplate |
||||
field_entity_map: |
||||
name: workflow_template |
||||
- message_name: CreateWorkflowTemplateRequest |
||||
field_entity_map: |
||||
parent: region |
||||
- message_name: GetWorkflowTemplateRequest |
||||
field_entity_map: |
||||
name: workflow_template |
||||
- message_name: InstantiateWorkflowTemplateRequest |
||||
field_entity_map: |
||||
name: workflow_template |
||||
- message_name: InstantiateInlineWorkflowTemplateRequest |
||||
field_entity_map: |
||||
parent: region |
||||
- message_name: ListWorkflowTemplatesRequest |
||||
field_entity_map: |
||||
parent: region |
||||
- message_name: DeleteWorkflowTemplateRequest |
||||
field_entity_map: |
||||
name: workflow_template |
@ -1,96 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 2.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.dataproc.v1beta2 |
||||
python: |
||||
package_name: google.cloud.dataproc_v1beta2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/dataproc/apiv1beta2 |
||||
csharp: |
||||
package_name: Google.Cloud.Dataproc.V1Beta2 |
||||
ruby: |
||||
package_name: Google::Cloud::Dataproc::V1beta2 |
||||
php: |
||||
package_name: Google\Cloud\Dataproc\V1beta2 |
||||
nodejs: |
||||
package_name: dataproc.v1beta2 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.cloud.dataproc.v1beta2.ClusterController |
||||
smoke_test: |
||||
method: ListClusters |
||||
init_fields: |
||||
- project_id=$PROJECT_ID |
||||
- region="global" |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- INTERNAL |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- name: non_idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
methods: |
||||
- name: CreateCluster |
||||
retry_codes_name: non_idempotent |
||||
- name: UpdateCluster |
||||
retry_codes_name: non_idempotent |
||||
- name: DeleteCluster |
||||
retry_codes_name: non_idempotent |
||||
- name: GetCluster |
||||
retry_codes_name: idempotent |
||||
- name: ListClusters |
||||
retry_codes_name: idempotent |
||||
- name: DiagnoseCluster |
||||
retry_codes_name: non_idempotent |
||||
- name: google.cloud.dataproc.v1beta2.JobController |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- INTERNAL |
||||
- UNAVAILABLE |
||||
- name: non_idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
methods: |
||||
- name: SubmitJob |
||||
retry_codes_name: non_idempotent |
||||
- name: GetJob |
||||
retry_codes_name: idempotent |
||||
- name: ListJobs |
||||
retry_codes_name: idempotent |
||||
- name: UpdateJob |
||||
retry_codes_name: non_idempotent |
||||
- name: CancelJob |
||||
retry_codes_name: idempotent |
||||
- name: DeleteJob |
||||
retry_codes_name: non_idempotent |
||||
- name: google.cloud.dataproc.v1beta2.WorkflowTemplateService |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- INTERNAL |
||||
- UNAVAILABLE |
||||
- name: non_idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
methods: |
||||
- name: CreateWorkflowTemplate |
||||
retry_codes_name: non_idempotent |
||||
- name: GetWorkflowTemplate |
||||
retry_codes_name: idempotent |
||||
- name: InstantiateWorkflowTemplate |
||||
retry_codes_name: non_idempotent |
||||
- name: InstantiateInlineWorkflowTemplate |
||||
retry_codes_name: non_idempotent |
||||
- name: UpdateWorkflowTemplate |
||||
retry_codes_name: non_idempotent |
||||
- name: ListWorkflowTemplates |
||||
retry_codes_name: idempotent |
||||
- name: DeleteWorkflowTemplate |
||||
retry_codes_name: non_idempotent |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,115 +0,0 @@ |
||||
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.documentai.v1beta1 |
||||
python: |
||||
package_name: google.cloud.documentai_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/documentai/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.DocumentAi.V1beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::DocumentAi::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\DocumentAi\V1beta1 |
||||
nodejs: |
||||
package_name: documentai.v1beta1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.documentai.v1beta1.DocumentUnderstandingService |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: BatchProcessDocuments |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
long_running: |
||||
return_type: google.cloud.documentai.v1beta1.BatchProcessDocumentsResponse |
||||
metadata_type: google.cloud.documentai.v1beta1.OperationMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
timeout_millis: 60000 |
@ -1,118 +0,0 @@ |
||||
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.documentai.v1beta2 |
||||
python: |
||||
package_name: google.cloud.documentai_v1beta2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/documentai/apiv1beta2 |
||||
csharp: |
||||
package_name: Google.Cloud.DocumentAi.V1beta2 |
||||
ruby: |
||||
package_name: Google::Cloud::DocumentAi::V1beta2 |
||||
php: |
||||
package_name: Google\Cloud\DocumentAi\V1beta2 |
||||
nodejs: |
||||
package_name: documentai.v1beta2 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.documentai.v1beta2.DocumentUnderstandingService |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: BatchProcessDocuments |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
long_running: |
||||
return_type: google.cloud.documentai.v1beta2.BatchProcessDocumentsResponse |
||||
metadata_type: google.cloud.documentai.v1beta2.OperationMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
timeout_millis: 60000 |
||||
- name: ProcessDocument |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,513 +0,0 @@ |
||||
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.iot.v1 |
||||
python: |
||||
package_name: google.cloud.iot_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/iot/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.Iot.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Iot::V1 |
||||
php: |
||||
package_name: Google\Cloud\Iot\V1 |
||||
nodejs: |
||||
package_name: iot.v1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.cloud.iot.v1.DeviceManager |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/registries/{registry} |
||||
entity_name: registry |
||||
- name_pattern: projects/{project}/locations/{location}/registries/{registry}/devices/{device} |
||||
entity_name: device |
||||
# Definition for smoke test. |
||||
smoke_test: |
||||
method: ListDeviceRegistries |
||||
init_fields: |
||||
- parent%project=$PROJECT_ID |
||||
- parent%location="us-central1" |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
- name: rate_limited_aware |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- RESOURCE_EXHAUSTED |
||||
# 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: 120000 |
||||
- name: rate_limited_aware |
||||
initial_retry_delay_millis: 1000 |
||||
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: 120000 |
||||
# 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. |
||||
# |
||||
# 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: CreateDeviceRegistry |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- device_registry |
||||
required_fields: |
||||
- parent |
||||
- device_registry |
||||
header_request_params: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: GetDeviceRegistry |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: registry |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: UpdateDeviceRegistry |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- device_registry |
||||
- update_mask |
||||
required_fields: |
||||
- device_registry |
||||
- update_mask |
||||
header_request_params: |
||||
- device_registry.name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
device_registry.name: registry |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: DeleteDeviceRegistry |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: registry |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: ListDeviceRegistries |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
header_request_params: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: device_registries |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: CreateDevice |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- device |
||||
required_fields: |
||||
- parent |
||||
- device |
||||
header_request_params: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: registry |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: GetDevice |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: device |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: UpdateDevice |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- device |
||||
- update_mask |
||||
required_fields: |
||||
- device |
||||
- update_mask |
||||
header_request_params: |
||||
- device.name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
device.name: device |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: DeleteDevice |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: device |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: ListDevices |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
header_request_params: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: devices |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: registry |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: ModifyCloudToDeviceConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- binary_data |
||||
required_fields: |
||||
- name |
||||
- binary_data |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: rate_limited_aware |
||||
retry_params_name: rate_limited_aware |
||||
field_name_patterns: |
||||
name: device |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: ListDeviceConfigVersions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: device |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: ListDeviceStates |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: device |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
header_request_params: |
||||
- resource |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: registry |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
header_request_params: |
||||
- resource |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: registry |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
header_request_params: |
||||
- resource |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: registry |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: SendCommandToDevice |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- binary_data |
||||
- subfolder |
||||
required_fields: |
||||
- name |
||||
- binary_data |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: rate_limited_aware |
||||
retry_params_name: rate_limited_aware |
||||
field_name_patterns: |
||||
name: device |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: BindDeviceToGateway |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- gateway_id |
||||
- device_id |
||||
required_fields: |
||||
- parent |
||||
- gateway_id |
||||
- device_id |
||||
header_request_params: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: registry |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: UnbindDeviceFromGateway |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- gateway_id |
||||
- device_id |
||||
required_fields: |
||||
- parent |
||||
- gateway_id |
||||
- device_id |
||||
header_request_params: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: registry |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
resource_name_generation: |
||||
- message_name: google.iam.v1.SetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: google.iam.v1.GetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: google.iam.v1.TestIamPermissionsRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: CreateDeviceRegistryRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetDeviceRegistryRequest |
||||
field_entity_map: |
||||
name: registry |
||||
- message_name: DeleteDeviceRegistryRequest |
||||
field_entity_map: |
||||
name: registry |
||||
- message_name: ListDeviceRegistriesRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: CreateDeviceRequest |
||||
field_entity_map: |
||||
parent: registry |
||||
- message_name: GetDeviceRequest |
||||
field_entity_map: |
||||
name: device |
||||
- message_name: DeleteDeviceRequest |
||||
field_entity_map: |
||||
name: device |
||||
- message_name: ListDevicesRequest |
||||
field_entity_map: |
||||
parent: registry |
||||
- message_name: ModifyCloudToDeviceConfigRequest |
||||
field_entity_map: |
||||
name: device |
||||
- message_name: ListDeviceConfigVersionsRequest |
||||
field_entity_map: |
||||
name: device |
||||
- message_name: ListDeviceStatesRequest |
||||
field_entity_map: |
||||
name: device |
||||
- message_name: SendCommandToDeviceRequest |
||||
field_entity_map: |
||||
name: device |
||||
- message_name: BindDeviceToGatewayRequest |
||||
field_entity_map: |
||||
parent: registry |
||||
- message_name: UnbindDeviceFromGatewayRequest |
||||
field_entity_map: |
||||
parent: registry |
||||
- message_name: Device |
||||
field_entity_map: |
||||
name: device |
||||
- message_name: DeviceRegistry |
||||
field_entity_map: |
||||
name: registry |
@ -1,185 +0,0 @@ |
||||
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.language.v1 |
||||
python: |
||||
package_name: google.cloud.language_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/language/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.Language.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Language::V1 |
||||
php: |
||||
package_name: Google\Cloud\Language\V1 |
||||
nodejs: |
||||
package_name: language.v1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.language.v1.LanguageService |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: AnalyzeSentiment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
- encoding_type |
||||
- parameters: |
||||
- document |
||||
required_fields: |
||||
- document |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: AnalyzeEntities |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
- encoding_type |
||||
- parameters: |
||||
- document |
||||
required_fields: |
||||
- document |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: AnalyzeEntitySentiment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
- encoding_type |
||||
- parameters: |
||||
- document |
||||
required_fields: |
||||
- document |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: AnalyzeSyntax |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
- encoding_type |
||||
- parameters: |
||||
- document |
||||
required_fields: |
||||
- document |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ClassifyText |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
required_fields: |
||||
- document |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: AnnotateText |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
- features |
||||
- encoding_type |
||||
- parameters: |
||||
- document |
||||
- features |
||||
required_fields: |
||||
- document |
||||
- features |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,78 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.language.v1beta1 |
||||
python: |
||||
package_name: google.cloud.language_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/language/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Language.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Language::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Language\V1Beta1 |
||||
nodejs: |
||||
package_name: language.v1beta1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.cloud.language.v1beta1.LanguageService |
||||
smoke_test: |
||||
method: AnalyzeSentiment |
||||
init_fields: |
||||
- document.type=PLAIN_TEXT |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: AnalyzeSentiment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
required_fields: |
||||
- document |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: AnalyzeEntities |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
- encoding_type |
||||
required_fields: |
||||
- document |
||||
- encoding_type |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: AnnotateText |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
- features |
||||
- encoding_type |
||||
required_fields: |
||||
- document |
||||
- features |
||||
- encoding_type |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
@ -1,109 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.language.v1beta2 |
||||
python: |
||||
package_name: google.cloud.language_v1beta2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/language/apiv1beta2 |
||||
csharp: |
||||
package_name: Google.Cloud.Language.V1Beta2 |
||||
ruby: |
||||
package_name: Google::Cloud::Language::V1beta2 |
||||
php: |
||||
package_name: Google\Cloud\Language\V1beta2 |
||||
nodejs: |
||||
package_name: language.v1beta2 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.cloud.language.v1beta2.LanguageService |
||||
smoke_test: |
||||
method: AnalyzeSentiment |
||||
init_fields: |
||||
- document.content="Hello, world!" |
||||
- document.type=PLAIN_TEXT |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: AnalyzeSentiment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
required_fields: |
||||
- document |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: AnalyzeEntities |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
- encoding_type |
||||
required_fields: |
||||
- document |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: AnalyzeEntitySentiment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
- encoding_type |
||||
required_fields: |
||||
- document |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: AnalyzeSyntax |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
- encoding_type |
||||
required_fields: |
||||
- document |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: ClassifyText |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
required_fields: |
||||
- document |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: AnnotateText |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
- features |
||||
- encoding_type |
||||
required_fields: |
||||
- document |
||||
- features |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
@ -1,295 +0,0 @@ |
||||
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.managedidentities.v1beta1 |
||||
python: |
||||
package_name: google.cloud.managedidentities_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/managedidentities/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Managedidentities.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Managedidentities::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Managedidentities\V1beta1 |
||||
nodejs: |
||||
package_name: managedidentities.v1beta1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.managedidentities.v1beta1.ManagedIdentitiesService |
||||
# 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}/locations/global |
||||
entity_name: project_locations |
||||
- name_pattern: projects/{project}/locations/global/domains/{domain} |
||||
entity_name: domain |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreateMicrosoftAdDomain |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- domain_name |
||||
- domain |
||||
required_fields: |
||||
- parent |
||||
- domain_name |
||||
- domain |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project_locations |
||||
long_running: |
||||
return_type: google.cloud.managedidentities.v1beta1.Domain |
||||
metadata_type: google.cloud.managedidentities.v1beta1.OpMetadata |
||||
initial_poll_delay_millis: 60000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 |
||||
total_poll_timeout_millis: 54000000 |
||||
timeout_millis: 60000 |
||||
- name: ResetAdminPassword |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: domain |
||||
timeout_millis: 60000 |
||||
- name: ListDomains |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
- order_by |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: domains |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project_locations |
||||
timeout_millis: 60000 |
||||
- name: GetDomain |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: domain |
||||
timeout_millis: 60000 |
||||
- name: UpdateDomain |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- domain |
||||
- update_mask |
||||
required_fields: |
||||
- domain |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
domain.name: domain |
||||
long_running: |
||||
return_type: google.cloud.managedidentities.v1beta1.Domain |
||||
metadata_type: google.cloud.managedidentities.v1beta1.OpMetadata |
||||
initial_poll_delay_millis: 60000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 |
||||
total_poll_timeout_millis: 54000000 |
||||
timeout_millis: 60000 |
||||
- name: DeleteDomain |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: domain |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.managedidentities.v1beta1.OpMetadata |
||||
initial_poll_delay_millis: 10000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 60000 |
||||
total_poll_timeout_millis: 900000 |
||||
timeout_millis: 60000 |
||||
- name: AttachTrust |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- trust |
||||
required_fields: |
||||
- name |
||||
- trust |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: domain |
||||
long_running: |
||||
return_type: google.cloud.managedidentities.v1beta1.Domain |
||||
metadata_type: google.cloud.managedidentities.v1beta1.OpMetadata |
||||
initial_poll_delay_millis: 10000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 60000 |
||||
total_poll_timeout_millis: 600000 |
||||
timeout_millis: 60000 |
||||
- name: ReconfigureTrust |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- target_domain_name |
||||
- target_dns_ip_addresses |
||||
required_fields: |
||||
- name |
||||
- target_domain_name |
||||
- target_dns_ip_addresses |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: domain |
||||
long_running: |
||||
return_type: google.cloud.managedidentities.v1beta1.Domain |
||||
metadata_type: google.cloud.managedidentities.v1beta1.OpMetadata |
||||
initial_poll_delay_millis: 10000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 60000 |
||||
total_poll_timeout_millis: 600000 |
||||
timeout_millis: 60000 |
||||
- name: DetachTrust |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- trust |
||||
required_fields: |
||||
- name |
||||
- trust |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: domain |
||||
long_running: |
||||
return_type: google.cloud.managedidentities.v1beta1.Domain |
||||
metadata_type: google.cloud.managedidentities.v1beta1.OpMetadata |
||||
initial_poll_delay_millis: 10000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 60000 |
||||
total_poll_timeout_millis: 600000 |
||||
timeout_millis: 60000 |
||||
- name: ValidateTrust |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- trust |
||||
required_fields: |
||||
- name |
||||
- trust |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: domain |
||||
long_running: |
||||
return_type: google.cloud.managedidentities.v1beta1.Domain |
||||
metadata_type: google.cloud.managedidentities.v1beta1.OpMetadata |
||||
initial_poll_delay_millis: 10000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 60000 |
||||
total_poll_timeout_millis: 600000 |
||||
timeout_millis: 60000 |
@ -1,148 +0,0 @@ |
||||
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.osconfig.agentendpoint.v1 |
||||
python: |
||||
package_name: google.cloud.osconfig.agentendpoint_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/osconfig/agentendpoint/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.OsConfig.Agentendpoint.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::OsConfig::Agentendpoint::V1 |
||||
php: |
||||
package_name: Google\Cloud\OsConfig\Agentendpoint\V1 |
||||
nodejs: |
||||
package_name: agentendpoint.v1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.osconfig.agentendpoint.v1.AgentEndpointService |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ReceiveTaskNotification |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- instance_id_token |
||||
- agent_version |
||||
required_fields: |
||||
- instance_id_token |
||||
- agent_version |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: StartNextTask |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- instance_id_token |
||||
required_fields: |
||||
- instance_id_token |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ReportTaskProgress |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- instance_id_token |
||||
- task_id |
||||
- task_type |
||||
required_fields: |
||||
- instance_id_token |
||||
- task_id |
||||
- task_type |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ReportTaskComplete |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- instance_id_token |
||||
- task_id |
||||
- task_type |
||||
- error_message |
||||
required_fields: |
||||
- instance_id_token |
||||
- task_id |
||||
- task_type |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,148 +0,0 @@ |
||||
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.osconfig.agentendpoint.v1beta |
||||
python: |
||||
package_name: google.cloud.osconfig.agentendpoint_v1beta.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/osconfig/agentendpoint/apiv1beta |
||||
csharp: |
||||
package_name: Google.Cloud.OsConfig.Agentendpoint.V1beta |
||||
ruby: |
||||
package_name: Google::Cloud::OsConfig::Agentendpoint::V1beta |
||||
php: |
||||
package_name: Google\Cloud\OsConfig\Agentendpoint\V1beta |
||||
nodejs: |
||||
package_name: agentendpoint.v1beta |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.osconfig.agentendpoint.v1beta.AgentEndpointService |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ReceiveTaskNotification |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- instance_id_token |
||||
- agent_version |
||||
required_fields: |
||||
- instance_id_token |
||||
- agent_version |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: StartNextTask |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- instance_id_token |
||||
required_fields: |
||||
- instance_id_token |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ReportTaskProgress |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- instance_id_token |
||||
- task_id |
||||
- task_type |
||||
required_fields: |
||||
- instance_id_token |
||||
- task_id |
||||
- task_type |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ReportTaskComplete |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- instance_id_token |
||||
- task_id |
||||
- task_type |
||||
- error_message |
||||
required_fields: |
||||
- instance_id_token |
||||
- task_id |
||||
- task_type |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,19 +0,0 @@ |
||||
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.osconfig.v1 |
||||
python: |
||||
package_name: google.cloud.osconfig_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/osconfig/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.OsConfig.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::OsConfig::V1 |
||||
php: |
||||
package_name: Google\Cloud\OsConfig\V1 |
||||
nodejs: |
||||
package_name: osconfig.v1 |
||||
domain_layer_location: google-cloud |
@ -1,337 +0,0 @@ |
||||
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.osconfig.v1beta |
||||
python: |
||||
package_name: google.cloud.osconfig_v1beta.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/osconfig/apiv1beta |
||||
csharp: |
||||
package_name: Google.Cloud.OsConfig.V1beta |
||||
ruby: |
||||
package_name: Google::Cloud::OsConfig::V1beta |
||||
php: |
||||
package_name: Google\Cloud\OsConfig\V1beta |
||||
nodejs: |
||||
package_name: osconfig.v1beta |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.osconfig.v1beta.OsConfigService |
||||
# 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}/guestPolicies/{guest_policy} |
||||
entity_name: guest_policy |
||||
- name_pattern: projects/{project}/patchDeployments/{patch_deployment} |
||||
entity_name: patch_deployment |
||||
- name_pattern: projects/{project}/patchJobs/{patch_job} |
||||
entity_name: patch_job |
||||
- name_pattern: projects/{project}/zones/{zone}/instances/{instance} |
||||
entity_name: instance |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ExecutePatchJob |
||||
required_fields: |
||||
- parent |
||||
- description |
||||
- instance_filter |
||||
- patch_config |
||||
- duration |
||||
- dry_run |
||||
- display_name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: GetPatchJob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: patch_job |
||||
timeout_millis: 60000 |
||||
- name: CancelPatchJob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: patch_job |
||||
timeout_millis: 60000 |
||||
- name: ListPatchJobs |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
- filter |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: patch_jobs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: ListPatchJobInstanceDetails |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
- filter |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: patch_job_instance_details |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: patch_job |
||||
timeout_millis: 60000 |
||||
- name: CreatePatchDeployment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- patch_deployment_id |
||||
- patch_deployment |
||||
required_fields: |
||||
- parent |
||||
- patch_deployment_id |
||||
- patch_deployment |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: GetPatchDeployment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: patch_deployment |
||||
timeout_millis: 60000 |
||||
- name: ListPatchDeployments |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: patch_deployments |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: DeletePatchDeployment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: patch_deployment |
||||
timeout_millis: 60000 |
||||
- name: CreateGuestPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- guest_policy_id |
||||
- guest_policy |
||||
required_fields: |
||||
- parent |
||||
- guest_policy_id |
||||
- guest_policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: GetGuestPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: guest_policy |
||||
timeout_millis: 60000 |
||||
- name: ListGuestPolicies |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: guest_policies |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: UpdateGuestPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- guest_policy |
||||
- update_mask |
||||
required_fields: |
||||
- guest_policy |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
guest_policy.name: guest_policy |
||||
timeout_millis: 60000 |
||||
- name: DeleteGuestPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: guest_policy |
||||
timeout_millis: 60000 |
||||
- name: LookupEffectiveGuestPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- instance |
||||
- os_short_name |
||||
- os_version |
||||
- os_architecture |
||||
required_fields: |
||||
- instance |
||||
- os_short_name |
||||
- os_version |
||||
- os_architecture |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
instance: instance |
||||
timeout_millis: 60000 |
@ -1,221 +0,0 @@ |
||||
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.oslogin.v1 |
||||
python: |
||||
package_name: google.cloud.oslogin_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/oslogin/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.OsLogin.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::OsLogin::V1 |
||||
php: |
||||
package_name: Google\Cloud\OsLogin\V1 |
||||
nodejs: |
||||
package_name: os-login.v1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.cloud.oslogin.v1.OsLoginService |
||||
# 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: users/{user} |
||||
entity_name: user |
||||
- name_pattern: users/{user}/projects/{project} |
||||
entity_name: project |
||||
- name_pattern: users/{user}/sshPublicKeys/{fingerprint} |
||||
entity_name: fingerprint |
||||
# 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: 10000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 10000 |
||||
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. |
||||
# |
||||
# 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: DeletePosixAccount |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: project |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 10000 |
||||
- name: DeleteSshPublicKey |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: fingerprint |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 10000 |
||||
- name: GetLoginProfile |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: user |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 10000 |
||||
- name: GetSshPublicKey |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: fingerprint |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 10000 |
||||
- name: ImportSshPublicKey |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- ssh_public_key |
||||
- parameters: |
||||
- parent |
||||
- ssh_public_key |
||||
- project_id |
||||
required_fields: |
||||
- parent |
||||
- ssh_public_key |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: user |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 10000 |
||||
- name: UpdateSshPublicKey |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- ssh_public_key |
||||
- parameters: |
||||
- name |
||||
- ssh_public_key |
||||
- update_mask |
||||
required_fields: |
||||
- name |
||||
- ssh_public_key |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: fingerprint |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 10000 |
||||
resource_name_generation: |
||||
- message_name: DeletePosixAccountRequest |
||||
field_entity_map: |
||||
name: project |
||||
- message_name: DeleteSshPublicKeyRequest |
||||
field_entity_map: |
||||
name: fingerprint |
||||
- message_name: GetLoginProfileRequest |
||||
field_entity_map: |
||||
name: user |
||||
- message_name: GetSshPublicKeyRequest |
||||
field_entity_map: |
||||
name: fingerprint |
||||
- message_name: ImportSshPublicKeyRequest |
||||
field_entity_map: |
||||
parent: user |
||||
- message_name: UpdateSshPublicKeyRequest |
||||
field_entity_map: |
||||
name: fingerprint |
@ -1,222 +0,0 @@ |
||||
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.oslogin.v1beta |
||||
python: |
||||
package_name: google.cloud.oslogin_v1beta.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/oslogin/apiv1beta |
||||
csharp: |
||||
package_name: Google.Cloud.OsLogin.V1Beta |
||||
ruby: |
||||
package_name: Google::Cloud::OsLogin::V1beta |
||||
php: |
||||
package_name: Google\Cloud\OsLogin\V1beta |
||||
nodejs: |
||||
package_name: os-login.v1beta |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.oslogin.v1beta.OsLoginService |
||||
# 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: users/{user} |
||||
entity_name: user |
||||
- name_pattern: users/{user}/projects/{project} |
||||
entity_name: project |
||||
- name_pattern: users/{user}/sshPublicKeys/{fingerprint} |
||||
entity_name: fingerprint |
||||
# 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: 10000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 10000 |
||||
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. |
||||
# |
||||
# 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: DeletePosixAccount |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: project |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 10000 |
||||
- name: DeleteSshPublicKey |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: fingerprint |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 10000 |
||||
- name: GetLoginProfile |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: user |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 10000 |
||||
- name: GetSshPublicKey |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: fingerprint |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 10000 |
||||
- name: ImportSshPublicKey |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- ssh_public_key |
||||
- parameters: |
||||
- parent |
||||
- ssh_public_key |
||||
- project_id |
||||
required_fields: |
||||
- parent |
||||
- ssh_public_key |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: user |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 10000 |
||||
- name: UpdateSshPublicKey |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- ssh_public_key |
||||
- parameters: |
||||
- name |
||||
- ssh_public_key |
||||
- update_mask |
||||
required_fields: |
||||
- name |
||||
- ssh_public_key |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: fingerprint |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 10000 |
||||
resource_name_generation: |
||||
- message_name: DeletePosixAccountRequest |
||||
field_entity_map: |
||||
name: project |
||||
- message_name: DeleteSshPublicKeyRequest |
||||
field_entity_map: |
||||
name: fingerprint |
||||
- message_name: GetLoginProfileRequest |
||||
field_entity_map: |
||||
name: user |
||||
- message_name: GetSshPublicKeyRequest |
||||
field_entity_map: |
||||
name: fingerprint |
||||
- message_name: ImportSshPublicKeyRequest |
||||
field_entity_map: |
||||
parent: user |
||||
- message_name: UpdateSshPublicKeyRequest |
||||
field_entity_map: |
||||
name: fingerprint |
@ -1,135 +0,0 @@ |
||||
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.phishingprotection.v1beta1 |
||||
python: |
||||
package_name: google.cloud.phishingprotection_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/phishingprotection/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.PhishingProtection.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::PhishingProtection::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\PhishingProtection\V1beta1 |
||||
nodejs: |
||||
package_name: phishingprotection.v1beta1 |
||||
# 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.cloud.phishingprotection.v1beta1.PhishingProtectionServiceV1Beta1 |
||||
# 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 |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ReportPhishing |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- uri |
||||
required_fields: |
||||
- parent |
||||
- uri |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
resource_name_generation: |
||||
- message_name: ReportPhishingRequest |
||||
field_entity_map: |
||||
parent: project |
@ -1,155 +0,0 @@ |
||||
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.recaptchaenterprise.v1beta1 |
||||
python: |
||||
package_name: google.cloud.recaptcha_enterprise_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/recaptchaenterprise/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.RecaptchaEnterprise.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::RecaptchaEnterprise::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\RecaptchaEnterprise\V1beta1 |
||||
nodejs: |
||||
package_name: recaptchaenterprise.v1beta1 |
||||
domain_layer_location: google-cloud |
||||
# 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.cloud.recaptchaenterprise.v1beta1.RecaptchaEnterpriseServiceV1Beta1 |
||||
# 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 |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/assessments/{assessment} |
||||
entity_name: assessment |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreateAssessment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- assessment |
||||
required_fields: |
||||
- parent |
||||
- assessment |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: AnnotateAssessment |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- annotation |
||||
required_fields: |
||||
- name |
||||
- annotation |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: assessment |
||||
timeout_millis: 60000 |
||||
resource_name_generation: |
||||
- message_name: CreateAssessmentRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: AnnotateAssessmentRequest |
||||
field_entity_map: |
||||
name: assessment |
@ -1,591 +0,0 @@ |
||||
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.recommendationengine.v1beta1 |
||||
python: |
||||
package_name: google.cloud.recommendationengine_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/recommendationengine/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Recommendationengine.V1beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Recommendationengine::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Recommendationengine\V1beta1 |
||||
nodejs: |
||||
package_name: recommendationengine.v1beta1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.recommendationengine.v1beta1.CatalogService |
||||
# 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}/locations/{location}/catalogs/{catalog} |
||||
entity_name: catalog |
||||
- name_pattern: projects/{project}/locations/{location}/catalogs/{catalog}/catalogItems/{catalog_item_path=**} |
||||
entity_name: catalog_item_path |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreateCatalogItem |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- catalog_item |
||||
required_fields: |
||||
- parent |
||||
- catalog_item |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: catalog |
||||
timeout_millis: 60000 |
||||
- name: GetCatalogItem |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: catalog_item_path |
||||
timeout_millis: 60000 |
||||
- name: ListCatalogItems |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: catalog_items |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: catalog |
||||
timeout_millis: 300000 |
||||
- name: UpdateCatalogItem |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- catalog_item |
||||
required_fields: |
||||
- name |
||||
- catalog_item |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: catalog_item_path |
||||
timeout_millis: 60000 |
||||
- name: DeleteCatalogItem |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: catalog_item_path |
||||
timeout_millis: 60000 |
||||
- name: ImportCatalogItems |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- request_id |
||||
- input_config |
||||
- errors_config |
||||
required_fields: |
||||
- parent |
||||
- input_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: catalog |
||||
long_running: |
||||
return_type: google.cloud.recommendationengine.v1beta1.ImportCatalogItemsResponse |
||||
metadata_type: google.cloud.recommendationengine.v1beta1.ImportMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 300000 |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistry |
||||
# 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}/locations/{location}/catalogs/{catalog}/eventStores/{event_store} |
||||
entity_name: event_store |
||||
- name_pattern: projects/{project}/locations/{location}/catalogs/{catalog}/eventStores/{event_store}/predictionApiKeyRegistrations/{prediction_api_key_registration} |
||||
entity_name: prediction_api_key_registration |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreatePredictionApiKeyRegistration |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- prediction_api_key_registration |
||||
required_fields: |
||||
- parent |
||||
- prediction_api_key_registration |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: event_store |
||||
timeout_millis: 60000 |
||||
- name: ListPredictionApiKeyRegistrations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: prediction_api_key_registrations |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: event_store |
||||
timeout_millis: 60000 |
||||
- name: DeletePredictionApiKeyRegistration |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: prediction_api_key_registration |
||||
timeout_millis: 60000 |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.recommendationengine.v1beta1.PredictionService |
||||
# 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}/locations/{location}/catalogs/{catalog}/eventStores/{event_store}/placements/{placement} |
||||
entity_name: placement |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: Predict |
||||
required_fields: |
||||
- name |
||||
- user_event |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: results |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: placement |
||||
timeout_millis: 60000 |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.recommendationengine.v1beta1.UserEventService |
||||
# 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}/locations/{location}/catalogs/{catalog}/eventStores/{event_store} |
||||
entity_name: event_store |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: WriteUserEvent |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- user_event |
||||
required_fields: |
||||
- parent |
||||
- user_event |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: event_store |
||||
timeout_millis: 60000 |
||||
- name: CollectUserEvent |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- user_event |
||||
- uri |
||||
- ets |
||||
required_fields: |
||||
- parent |
||||
- user_event |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: event_store |
||||
timeout_millis: 60000 |
||||
- name: ListUserEvents |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: user_events |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: event_store |
||||
timeout_millis: 300000 |
||||
- name: PurgeUserEvents |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
- force |
||||
required_fields: |
||||
- parent |
||||
- filter |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: event_store |
||||
long_running: |
||||
return_type: google.cloud.recommendationengine.v1beta1.PurgeUserEventsResponse |
||||
metadata_type: google.cloud.recommendationengine.v1beta1.PurgeUserEventsMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 60000 |
||||
- name: ImportUserEvents |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- request_id |
||||
- input_config |
||||
- errors_config |
||||
required_fields: |
||||
- parent |
||||
- input_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: event_store |
||||
long_running: |
||||
return_type: google.cloud.recommendationengine.v1beta1.ImportUserEventsResponse |
||||
metadata_type: google.cloud.recommendationengine.v1beta1.ImportMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 300000 |
@ -1,178 +0,0 @@ |
||||
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.recommender.v1beta1 |
||||
python: |
||||
package_name: google.cloud.recommender_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/recommender/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Recommender.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Recommender::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Recommender\V1beta1 |
||||
nodejs: |
||||
package_name: recommender.v1beta1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.recommender.v1beta1.Recommender |
||||
# 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}/locations/{location}/recommenders/{recommender} |
||||
entity_name: recommender |
||||
- name_pattern: projects/{project}/locations/{location}/recommenders/{recommender}/recommendations/{recommendation} |
||||
entity_name: recommendation |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ListRecommendations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: recommendations |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: recommender |
||||
timeout_millis: 60000 |
||||
- name: GetRecommendation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: recommendation |
||||
timeout_millis: 60000 |
||||
- name: MarkRecommendationClaimed |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- state_metadata |
||||
- etag |
||||
required_fields: |
||||
- name |
||||
- etag |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: recommendation |
||||
timeout_millis: 60000 |
||||
- name: MarkRecommendationSucceeded |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- state_metadata |
||||
- etag |
||||
required_fields: |
||||
- name |
||||
- etag |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: recommendation |
||||
timeout_millis: 60000 |
||||
- name: MarkRecommendationFailed |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- state_metadata |
||||
- etag |
||||
required_fields: |
||||
- name |
||||
- etag |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: recommendation |
||||
timeout_millis: 60000 |
@ -1,298 +0,0 @@ |
||||
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.redis.v1 |
||||
python: |
||||
package_name: google.cloud.redis_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/redis/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.Redis.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Redis::V1 |
||||
php: |
||||
package_name: Google\Cloud\Redis\V1 |
||||
nodejs: |
||||
package_name: redis.v1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.redis.v1.CloudRedis |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/instances/{instance} |
||||
entity_name: instance |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ListInstances |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: instances |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance |
||||
timeout_millis: 60000 |
||||
- name: CreateInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- instance_id |
||||
- instance |
||||
required_fields: |
||||
- parent |
||||
- instance_id |
||||
- instance |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
long_running: |
||||
return_type: google.cloud.redis.v1.Instance |
||||
metadata_type: google.cloud.redis.v1.OperationMetadata |
||||
initial_poll_delay_millis: 60000 # 1 minutes |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 # 6 minutes |
||||
total_poll_timeout_millis: 1200000 # 20 minutes |
||||
timeout_millis: 60000 |
||||
sample_code_init_fields: |
||||
- instance_id="test_instance" |
||||
- instance.tier="BASIC" |
||||
- instance.memory_size_gb=1 |
||||
- name: UpdateInstance |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- update_mask |
||||
- instance |
||||
required_fields: |
||||
- update_mask |
||||
- instance |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
instance.name: instance |
||||
long_running: |
||||
return_type: google.cloud.redis.v1.Instance |
||||
metadata_type: google.cloud.redis.v1.OperationMetadata |
||||
initial_poll_delay_millis: 60000 # 1 minutes |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 # 6 minutes |
||||
total_poll_timeout_millis: 7200000 # 120 minutes |
||||
timeout_millis: 60000 |
||||
sample_code_init_fields: |
||||
- update_mask.paths[0]="display_name" |
||||
- update_mask.paths[1]="memory_size_gb" |
||||
- instance.display_name="UpdatedDisplayName" |
||||
- instance.memory_size_gb=4 |
||||
- name: ImportInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- input_config |
||||
required_fields: |
||||
- name |
||||
- input_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance |
||||
long_running: |
||||
return_type: google.cloud.redis.v1.Instance |
||||
metadata_type: google.cloud.redis.v1.OperationMetadata |
||||
initial_poll_delay_millis: 60000 # 1 minutes |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 # 6 minutes |
||||
total_poll_timeout_millis: 18000000 # 300 minutes |
||||
timeout_millis: 60000 |
||||
- name: ExportInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- output_config |
||||
required_fields: |
||||
- name |
||||
- output_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance |
||||
long_running: |
||||
return_type: google.cloud.redis.v1.Instance |
||||
metadata_type: google.cloud.redis.v1.OperationMetadata |
||||
initial_poll_delay_millis: 60000 # 1 minutes |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 # 6 minutes |
||||
total_poll_timeout_millis: 18000000 # 300 minutes |
||||
timeout_millis: 60000 |
||||
- name: FailoverInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- data_protection_mode |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance |
||||
resource_name_treatment: STATIC_TYPES |
||||
long_running: |
||||
return_type: google.cloud.redis.v1.Instance |
||||
metadata_type: google.cloud.redis.v1.OperationMetadata |
||||
initial_poll_delay_millis: 60000 # 1 minutes |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 # 6 minutes |
||||
total_poll_timeout_millis: 1200000 # 20 minutes |
||||
timeout_millis: 60000 |
||||
- name: DeleteInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.redis.v1.OperationMetadata |
||||
initial_poll_delay_millis: 60000 # 1 minutes |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 # 6 minutes |
||||
total_poll_timeout_millis: 1200000 # 20 minutes |
||||
timeout_millis: 60000 |
||||
resource_name_generation: |
||||
- message_name: ListInstancesRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetInstanceRequest |
||||
field_entity_map: |
||||
name: instance |
||||
- message_name: CreateInstanceRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: DeleteInstanceRequest |
||||
field_entity_map: |
||||
name: instance |
||||
- message_name: FailoverInstanceRequest |
||||
field_entity_map: |
||||
name: instance |
@ -1,293 +0,0 @@ |
||||
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.redis.v1beta1 |
||||
python: |
||||
package_name: google.cloud.redis_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/redis/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Redis.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Redis::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Redis\V1beta1 |
||||
nodejs: |
||||
package_name: redis.v1beta1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.redis.v1beta1.CloudRedis |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/instances/{instance} |
||||
entity_name: instance |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ListInstances |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: instances |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance |
||||
timeout_millis: 60000 |
||||
- name: CreateInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- instance_id |
||||
- instance |
||||
required_fields: |
||||
- parent |
||||
- instance_id |
||||
- instance |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
long_running: |
||||
return_type: google.cloud.redis.v1beta1.Instance |
||||
metadata_type: google.protobuf.Any |
||||
initial_poll_delay_millis: 60000 # 1 minutes |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 # 6 minutes |
||||
total_poll_timeout_millis: 1200000 # 20 minutes |
||||
timeout_millis: 60000 |
||||
sample_code_init_fields: |
||||
- instance_id="test_instance" |
||||
- instance.tier="BASIC" |
||||
- instance.memory_size_gb=1 |
||||
- name: UpdateInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- update_mask |
||||
- instance |
||||
required_fields: |
||||
- update_mask |
||||
- instance |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
instance.name: instance |
||||
resource_name_treatment: STATIC_TYPES |
||||
long_running: |
||||
return_type: google.cloud.redis.v1beta1.Instance |
||||
metadata_type: google.protobuf.Any |
||||
initial_poll_delay_millis: 60000 # 1 minutes |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 # 6 minutes |
||||
total_poll_timeout_millis: 7200000 # 120 minutes |
||||
timeout_millis: 60000 |
||||
sample_code_init_fields: |
||||
- update_mask.paths[0]="display_name" |
||||
- update_mask.paths[1]="memory_size_gb" |
||||
- instance.display_name="UpdatedDisplayName" |
||||
- instance.memory_size_gb=4 |
||||
- name: ImportInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- input_config |
||||
required_fields: |
||||
- name |
||||
- input_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance |
||||
long_running: |
||||
return_type: google.cloud.redis.v1beta1.Instance |
||||
metadata_type: google.protobuf.Any |
||||
initial_poll_delay_millis: 60000 # 1 minutes |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 # 6 minutes |
||||
total_poll_timeout_millis: 18000000 # 300 minutes |
||||
timeout_millis: 60000 |
||||
- name: ExportInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- output_config |
||||
required_fields: |
||||
- name |
||||
- output_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance |
||||
long_running: |
||||
return_type: google.cloud.redis.v1beta1.Instance |
||||
metadata_type: google.protobuf.Any |
||||
initial_poll_delay_millis: 60000 # 1 minutes |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 # 6 minutes |
||||
total_poll_timeout_millis: 18000000 # 300 minutes |
||||
timeout_millis: 60000 |
||||
- name: FailoverInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- data_protection_mode |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance |
||||
long_running: |
||||
return_type: google.cloud.redis.v1beta1.Instance |
||||
metadata_type: google.protobuf.Any |
||||
initial_poll_delay_millis: 60000 # 1 minutes |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 # 6 minutes |
||||
total_poll_timeout_millis: 1200000 # 20 minutes |
||||
timeout_millis: 60000 |
||||
- name: DeleteInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.protobuf.Any |
||||
initial_poll_delay_millis: 60000 # 1 minutes |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 360000 # 6 minutes |
||||
total_poll_timeout_millis: 1200000 # 20 minutes |
||||
timeout_millis: 60000 |
||||
resource_name_generation: |
||||
- message_name: ListInstancesRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetInstanceRequest |
||||
field_entity_map: |
||||
name: instance |
||||
- message_name: CreateInstanceRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: DeleteInstanceRequest |
||||
field_entity_map: |
||||
name: instance |
@ -1,301 +0,0 @@ |
||||
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.resourcemanager.v2 |
||||
python: |
||||
package_name: google.cloud.resourcemanager_v2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/resourcemanager/apiv2 |
||||
csharp: |
||||
package_name: Google.Cloud.ResourceManager.V2 |
||||
ruby: |
||||
package_name: Google::Cloud::ResourceManager::V2 |
||||
php: |
||||
package_name: Google\Cloud\ResourceManager\V2 |
||||
nodejs: |
||||
package_name: resourcemanager.v2 |
||||
domain_layer_location: google-cloud |
||||
collection_oneofs: |
||||
- oneof_name: parent_oneof |
||||
collection_names: |
||||
- organization |
||||
- folder |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.cloud.resourcemanager.v2.Folders |
||||
# 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: folders/{folder} |
||||
entity_name: folder |
||||
- name_pattern: organizations/{org_id} |
||||
entity_name: organization |
||||
# Definition for smoke test. |
||||
smoke_test: |
||||
method: SearchFolders |
||||
init_fields: |
||||
- query="" # Returns all folders that the caller has access to. |
||||
# 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: 30000 |
||||
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. |
||||
# |
||||
# 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: ListFolders |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- show_deleted |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: folders |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: parent_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 30000 |
||||
- name: SearchFolders |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- query |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: folders |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: GetFolder |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: folder |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 30000 |
||||
- name: CreateFolder |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- folder |
||||
required_fields: |
||||
- parent |
||||
- folder |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: parent_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 30000 |
||||
- name: UpdateFolder |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- folder |
||||
- update_mask |
||||
required_fields: |
||||
- folder |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: MoveFolder |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- destination_parent |
||||
required_fields: |
||||
- name |
||||
- destination_parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: folder |
||||
destination_parent: parent_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 30000 |
||||
- name: DeleteFolder |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- parameters: |
||||
- name |
||||
- recursive_delete |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: folder |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 30000 |
||||
- name: UndeleteFolder |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: folder |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 30000 |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: folder |
||||
timeout_millis: 30000 |
||||
- name: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: folder |
||||
timeout_millis: 30000 |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: folder |
||||
timeout_millis: 30000 |
||||
resource_name_generation: |
||||
- message_name: ListFoldersRequest |
||||
field_entity_map: |
||||
parent: parent_oneof |
||||
- message_name: GetFolderRequest |
||||
field_entity_map: |
||||
name: folder |
||||
- message_name: CreateFolderRequest |
||||
field_entity_map: |
||||
parent: parent_oneof |
||||
- message_name: MoveFolderRequest |
||||
field_entity_map: |
||||
name: folder |
||||
destination_parent: parent_oneof |
||||
- message_name: DeleteFolderRequest |
||||
field_entity_map: |
||||
name: folder |
||||
- message_name: UndeleteFolderRequest |
||||
field_entity_map: |
||||
name: folder |
||||
- message_name: Folder |
||||
field_entity_map: |
||||
name: folder |
||||
parent: parent_oneof |
@ -1,261 +0,0 @@ |
||||
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.scheduler.v1 |
||||
python: |
||||
package_name: google.cloud.scheduler_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/scheduler/apiv1 |
||||
release_level: GA |
||||
csharp: |
||||
package_name: Google.Cloud.Scheduler.V1 |
||||
release_level: GA |
||||
ruby: |
||||
package_name: Google::Cloud::Scheduler::V1 |
||||
release_level: GA |
||||
php: |
||||
package_name: Google\Cloud\Scheduler\V1 |
||||
nodejs: |
||||
package_name: scheduler.v1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.cloud.scheduler.v1.CloudScheduler |
||||
# 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 |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/jobs/{job} |
||||
entity_name: job |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ListJobs |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: jobs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 30000 |
||||
- name: GetJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: job |
||||
timeout_millis: 30000 |
||||
- name: CreateJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- job |
||||
required_fields: |
||||
- parent |
||||
- job |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 30000 |
||||
- name: UpdateJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- job |
||||
- update_mask |
||||
required_fields: |
||||
- job |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
job.name: job |
||||
timeout_millis: 30000 |
||||
- name: DeleteJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: job |
||||
timeout_millis: 30000 |
||||
- name: PauseJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: job |
||||
timeout_millis: 30000 |
||||
- name: ResumeJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: job |
||||
timeout_millis: 30000 |
||||
- name: RunJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: job |
||||
timeout_millis: 30000 |
||||
resource_name_generation: |
||||
- message_name: Job |
||||
field_entity_map: |
||||
name: job |
||||
- message_name: ListJobsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetJobRequest |
||||
field_entity_map: |
||||
name: job |
||||
- message_name: CreateJobRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: UpdateJobRequest |
||||
field_entity_map: |
||||
job.name: job |
||||
- message_name: DeleteJobRequest |
||||
field_entity_map: |
||||
name: job |
||||
- message_name: PauseJobRequest |
||||
field_entity_map: |
||||
name: job |
||||
- message_name: ResumeJobRequest |
||||
field_entity_map: |
||||
name: job |
||||
- message_name: RunJobRequest |
||||
field_entity_map: |
||||
name: job |
@ -1,257 +0,0 @@ |
||||
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.scheduler.v1beta1 |
||||
python: |
||||
package_name: google.cloud.scheduler_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/scheduler/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Scheduler.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Scheduler::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Scheduler\V1beta1 |
||||
nodejs: |
||||
package_name: scheduler.v1beta1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.cloud.scheduler.v1beta1.CloudScheduler |
||||
# 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 |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/jobs/{job} |
||||
entity_name: job |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ListJobs |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: jobs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 10000 |
||||
- name: GetJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: job |
||||
timeout_millis: 10000 |
||||
- name: CreateJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- job |
||||
required_fields: |
||||
- parent |
||||
- job |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 10000 |
||||
- name: UpdateJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- job |
||||
- update_mask |
||||
required_fields: |
||||
- job |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
job.name: job |
||||
timeout_millis: 10000 |
||||
- name: DeleteJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: job |
||||
timeout_millis: 10000 |
||||
- name: PauseJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: job |
||||
timeout_millis: 10000 |
||||
- name: ResumeJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: job |
||||
timeout_millis: 10000 |
||||
- name: RunJob |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: job |
||||
timeout_millis: 10000 |
||||
resource_name_generation: |
||||
- message_name: Job |
||||
field_entity_map: |
||||
name: job |
||||
- message_name: ListJobsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetJobRequest |
||||
field_entity_map: |
||||
name: job |
||||
- message_name: CreateJobRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: UpdateJobRequest |
||||
field_entity_map: |
||||
job.name: job |
||||
- message_name: DeleteJobRequest |
||||
field_entity_map: |
||||
name: job |
||||
- message_name: PauseJobRequest |
||||
field_entity_map: |
||||
name: job |
||||
- message_name: ResumeJobRequest |
||||
field_entity_map: |
||||
name: job |
||||
- message_name: RunJobRequest |
||||
field_entity_map: |
||||
name: job |
@ -1,478 +0,0 @@ |
||||
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.securitycenter.v1 |
||||
python: |
||||
package_name: google.cloud.securitycenter_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/securitycenter/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.SecurityCenter.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::SecurityCenter::V1 |
||||
php: |
||||
package_name: Google\Cloud\SecurityCenter\V1 |
||||
nodejs: |
||||
package_name: security-center.v1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.securitycenter.v1.SecurityCenter |
||||
# 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: organizations/{organization} |
||||
entity_name: organization |
||||
- name_pattern: organizations/{organization}/organizationSettings |
||||
entity_name: organization_settings |
||||
- name_pattern: organizations/{organization}/assets/{asset} |
||||
entity_name: asset |
||||
- name_pattern: organizations/{organization}/assets/{asset}/securityMarks |
||||
entity_name: asset_security_marks |
||||
- name_pattern: organizations/{organization}/sources/{source} |
||||
entity_name: source |
||||
- name_pattern: organizations/{organization}/sources/- |
||||
entity_name: organization_sources |
||||
- name_pattern: organizations/{organization}/sources/{source}/findings/{finding} |
||||
entity_name: finding |
||||
- name_pattern: organizations/{organization}/sources/{source}/findings/{finding}/securityMarks |
||||
entity_name: finding_security_marks |
||||
|
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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: 480000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 480000 |
||||
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. |
||||
# |
||||
# 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: CreateSource |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- source |
||||
required_fields: |
||||
- parent |
||||
- source |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 60000 |
||||
- name: CreateFinding |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- finding_id |
||||
- finding |
||||
required_fields: |
||||
- parent |
||||
- finding_id |
||||
- finding |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: source |
||||
timeout_millis: 60000 |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
resource: source |
||||
timeout_millis: 60000 |
||||
- name: GetOrganizationSettings |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
name: organization_settings |
||||
timeout_millis: 60000 |
||||
- name: GetSource |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
name: source |
||||
timeout_millis: 60000 |
||||
- name: GroupAssets |
||||
required_fields: |
||||
- parent |
||||
- group_by |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: group_by_results |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 60000 |
||||
- name: GroupFindings |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- group_by |
||||
required_fields: |
||||
- parent |
||||
- group_by |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: group_by_results |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: source |
||||
timeout_millis: 60000 |
||||
- name: ListAssets |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: list_assets_results |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 60000 |
||||
- name: ListFindings |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: list_findings_results |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: source |
||||
timeout_millis: 60000 |
||||
- name: ListSources |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: sources |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 60000 |
||||
- name: RunAssetDiscovery |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: organization |
||||
long_running: |
||||
return_type: google.cloud.securitycenter.v1.RunAssetDiscoveryResponse |
||||
metadata_type: google.protobuf.Empty |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 60000 |
||||
- name: SetFindingState |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- state |
||||
- start_time |
||||
required_fields: |
||||
- name |
||||
- state |
||||
- start_time |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
name: finding |
||||
timeout_millis: 60000 |
||||
- name: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
resource: source |
||||
timeout_millis: 60000 |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
resource: source |
||||
timeout_millis: 60000 |
||||
- name: UpdateFinding |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- finding |
||||
required_fields: |
||||
- finding |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
finding.name: finding |
||||
timeout_millis: 60000 |
||||
- name: UpdateOrganizationSettings |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- organization_settings |
||||
required_fields: |
||||
- organization_settings |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
organization_settings.name: organization_settings |
||||
timeout_millis: 60000 |
||||
- name: UpdateSource |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- source |
||||
required_fields: |
||||
- source |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
source.name: source |
||||
timeout_millis: 60000 |
||||
- name: UpdateSecurityMarks |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- security_marks |
||||
required_fields: |
||||
- security_marks |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
security_marks.name: securitymarks_oneof |
||||
timeout_millis: 60000 |
||||
|
||||
# Mappings for STATIC_TYPES |
||||
# See https://docs.google.com/document/d/1meVVWXYOGRApOH_fKQf48qjce4ewDv_ZiDRClmmCs2w/edit |
||||
# |
||||
collection_oneofs: |
||||
- oneof_name: securitymarks_oneof |
||||
collection_names: |
||||
- asset_security_marks |
||||
- finding_security_marks |
||||
resource_name_generation: |
||||
- message_name: Asset |
||||
field_entity_map: |
||||
name: asset |
||||
- message_name: CreateSourceRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: CreateFindingRequest |
||||
field_entity_map: |
||||
parent: source |
||||
- message_name: Finding |
||||
field_entity_map: |
||||
name: finding |
||||
- message_name: google.iam.v1.GetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: GetOrganizationSettingsRequest |
||||
field_entity_map: |
||||
name: organization_settings |
||||
- message_name: GetSourceRequest |
||||
field_entity_map: |
||||
name: source |
||||
- message_name: GroupAssetsRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: GroupFindingsRequest |
||||
field_entity_map: |
||||
parent: source |
||||
- message_name: ListAssetsRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: ListFindingsRequest |
||||
field_entity_map: |
||||
parent: source |
||||
- message_name: ListSourcesRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: RunAssetDiscoveryRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: SetFindingStateRequest |
||||
field_entity_map: |
||||
name: finding |
||||
- message_name: google.iam.v1.SetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: Source |
||||
field_entity_map: |
||||
name: source |
||||
- message_name: google.iam.v1.TestIamPermissionsRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: UpdateFindingRequest |
||||
field_entity_map: |
||||
name: finding |
||||
- message_name: UpdateOrganizationSettingsRequest |
||||
field_entity_map: |
||||
name: organization_settings |
||||
- message_name: UpdateSourceRequest |
||||
field_entity_map: |
||||
name: source |
||||
- message_name: UpdateSecurityMarksRequest |
||||
field_entity_map: |
||||
name: securitymarks_oneof |
@ -1,460 +0,0 @@ |
||||
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.securitycenter.v1beta1 |
||||
python: |
||||
package_name: google.cloud.securitycenter_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/securitycenter/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Securitycenter.V1beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Securitycenter::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Securitycenter\V1beta1 |
||||
nodejs: |
||||
package_name: security-center.v1beta1 |
||||
domain_layer_location: google-cloud |
||||
# 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: organizations/{organization} |
||||
entity_name: organization |
||||
- name_pattern: organizations/{organization}/assets/{asset}/securityMarks |
||||
entity_name: asset_security_marks |
||||
- name_pattern: organizations/{organization}/sources/{source}/findings/{finding}/securityMarks |
||||
entity_name: finding_security_marks |
||||
- name_pattern: organizations/{organization}/organizationSettings |
||||
entity_name: organization_settings |
||||
- name_pattern: organizations/{organization}/sources/{source} |
||||
entity_name: source |
||||
- name_pattern: organizations/{organization}/sources/{source}/findings/{finding} |
||||
entity_name: finding |
||||
collection_oneofs: |
||||
- oneof_name: securitymarks_oneof |
||||
collection_names: |
||||
- asset_security_marks |
||||
- finding_security_marks |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.securitycenter.v1beta1.SecurityCenter |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreateSource |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- source |
||||
required_fields: |
||||
- parent |
||||
- source |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 60000 |
||||
- name: CreateFinding |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- finding_id |
||||
- finding |
||||
required_fields: |
||||
- parent |
||||
- finding_id |
||||
- finding |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: source |
||||
timeout_millis: 60000 |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
resource: source |
||||
timeout_millis: 60000 |
||||
- name: GetOrganizationSettings |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
name: organization_settings |
||||
timeout_millis: 60000 |
||||
- name: GetSource |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
name: source |
||||
timeout_millis: 60000 |
||||
- name: GroupAssets |
||||
required_fields: |
||||
- parent |
||||
- group_by |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: group_by_results |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 60000 |
||||
- name: GroupFindings |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- group_by |
||||
required_fields: |
||||
- parent |
||||
- group_by |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: group_by_results |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: source |
||||
timeout_millis: 60000 |
||||
- name: ListAssets |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: list_assets_results |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 60000 |
||||
- name: ListFindings |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: findings |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: source |
||||
timeout_millis: 60000 |
||||
- name: ListSources |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: sources |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 60000 |
||||
- name: RunAssetDiscovery |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
parent: organization |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.protobuf.Empty |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 60000 |
||||
- name: SetFindingState |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- state |
||||
- start_time |
||||
required_fields: |
||||
- name |
||||
- state |
||||
- start_time |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
name: finding |
||||
timeout_millis: 60000 |
||||
- name: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
resource: source |
||||
timeout_millis: 60000 |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
resource: source |
||||
timeout_millis: 60000 |
||||
- name: UpdateFinding |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- finding |
||||
required_fields: |
||||
- finding |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
finding.name: finding |
||||
timeout_millis: 60000 |
||||
- name: UpdateOrganizationSettings |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- organization_settings |
||||
required_fields: |
||||
- organization_settings |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
organization_settings.name: organization_settings |
||||
timeout_millis: 60000 |
||||
- name: UpdateSource |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- source |
||||
required_fields: |
||||
- source |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
source.name: source |
||||
timeout_millis: 60000 |
||||
- name: UpdateSecurityMarks |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- security_marks |
||||
required_fields: |
||||
- security_marks |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
resource_name_treatment: STATIC_TYPES |
||||
field_name_patterns: |
||||
security_marks.name: securitymarks_oneof |
||||
timeout_millis: 60000 |
||||
resource_name_generation: |
||||
- message_name: CreateSourceRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: CreateFindingRequest |
||||
field_entity_map: |
||||
parent: source |
||||
- message_name: google.iam.v1.GetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: source |
||||
- message_name: GetOrganizationSettingsRequest |
||||
field_entity_map: |
||||
name: organization_settings |
||||
- message_name: GetSourceRequest |
||||
field_entity_map: |
||||
name: source |
||||
- message_name: GroupAssetsRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: GroupFindingsRequest |
||||
field_entity_map: |
||||
parent: source |
||||
- message_name: ListAssetsRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: ListFindingsRequest |
||||
field_entity_map: |
||||
parent: source |
||||
- message_name: ListSourcesRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: RunAssetDiscoveryRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: SetFindingStateRequest |
||||
field_entity_map: |
||||
name: finding |
||||
- message_name: google.iam.v1.SetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: source |
||||
- message_name: google.iam.v1.TestIamPermissionsRequest |
||||
field_entity_map: |
||||
resource: source |
||||
- message_name: UpdateFindingRequest |
||||
field_entity_map: |
||||
name: finding |
||||
- message_name: UpdateOrganizationSettingsRequest |
||||
field_entity_map: |
||||
name: organization_settings |
||||
- message_name: UpdateSourceRequest |
||||
field_entity_map: |
||||
name: source |
||||
- message_name: UpdateSecurityMarksRequest |
||||
field_entity_map: |
||||
name: securitymarks_oneof |
@ -1,92 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.speech.v1 |
||||
python: |
||||
package_name: google.cloud.speech_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/speech/apiv1 |
||||
release_level: GA |
||||
csharp: |
||||
package_name: Google.Cloud.Speech.V1 |
||||
release_level: GA |
||||
ruby: |
||||
package_name: Google::Cloud::Speech::V1 |
||||
php: |
||||
package_name: Google\Cloud\Speech\V1 |
||||
nodejs: |
||||
package_name: speech.v1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.cloud.speech.v1.Speech |
||||
smoke_test: |
||||
method: Recognize |
||||
init_fields: |
||||
- config.language_code="en-US" |
||||
- config.sample_rate_hertz=44100 |
||||
- config.encoding=FLAC |
||||
- audio.uri="gs://gapic-toolkit/hello.flac" |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 1000000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 1000000 |
||||
total_timeout_millis: 5000000 |
||||
methods: |
||||
- name: Recognize |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- config |
||||
- audio |
||||
required_fields: |
||||
- config |
||||
- audio |
||||
sample_code_init_fields: |
||||
- config.encoding=FLAC |
||||
- config.sample_rate_hertz=44100 |
||||
- config.language_code="en-US" |
||||
- audio.uri=gs://bucket_name/file_name.flac |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 1000000 |
||||
- name: LongRunningRecognize |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- config |
||||
- audio |
||||
required_fields: |
||||
- config |
||||
- audio |
||||
sample_code_init_fields: |
||||
- config.encoding=FLAC |
||||
- config.sample_rate_hertz=44100 |
||||
- config.language_code="en-US" |
||||
- audio.uri=gs://bucket_name/file_name.flac |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
long_running: |
||||
return_type: google.cloud.speech.v1.LongRunningRecognizeResponse |
||||
metadata_type: google.cloud.speech.v1.LongRunningRecognizeMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
- name: StreamingRecognize |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 1000000 |
@ -1,90 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.speech.v1p1beta1 |
||||
python: |
||||
package_name: google.cloud.speech_v1p1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/speech/apiv1p1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Speech.V1P1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Speech::V1p1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Speech\V1p1beta1 |
||||
nodejs: |
||||
package_name: speech.v1p1beta1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.cloud.speech.v1p1beta1.Speech |
||||
smoke_test: |
||||
method: Recognize |
||||
init_fields: |
||||
- config.language_code="en-US" |
||||
- config.sample_rate_hertz=44100 |
||||
- config.encoding=FLAC |
||||
- audio.uri="gs://gapic-toolkit/hello.flac" |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 1000000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 1000000 |
||||
total_timeout_millis: 5000000 |
||||
methods: |
||||
- name: Recognize |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- config |
||||
- audio |
||||
required_fields: |
||||
- config |
||||
- audio |
||||
sample_code_init_fields: |
||||
- config.encoding=FLAC |
||||
- config.sample_rate_hertz=44100 |
||||
- config.language_code="en-US" |
||||
- audio.uri=gs://bucket_name/file_name.flac |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 1000000 |
||||
- name: LongRunningRecognize |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- config |
||||
- audio |
||||
required_fields: |
||||
- config |
||||
- audio |
||||
sample_code_init_fields: |
||||
- config.encoding=FLAC |
||||
- config.sample_rate_hertz=44100 |
||||
- config.language_code="en-US" |
||||
- audio.uri=gs://bucket_name/file_name.flac |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
long_running: |
||||
return_type: google.cloud.speech.v1p1beta1.LongRunningRecognizeResponse |
||||
metadata_type: google.cloud.speech.v1p1beta1.LongRunningRecognizeMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
- name: StreamingRecognize |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 1000000 |
File diff suppressed because it is too large
Load Diff
@ -1,439 +0,0 @@ |
||||
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.tasks.v2 |
||||
python: |
||||
package_name: google.cloud.tasks_v2.gapic |
||||
release_level: GA |
||||
go: |
||||
package_name: cloud.google.com/go/cloudtasks/apiv2 |
||||
release_level: GA |
||||
csharp: |
||||
package_name: Google.Cloud.Tasks.V2 |
||||
release_level: GA |
||||
ruby: |
||||
package_name: Google::Cloud::Tasks::V2 |
||||
release_level: GA |
||||
php: |
||||
package_name: Google\Cloud\Tasks\V2 |
||||
release_level: GA |
||||
nodejs: |
||||
package_name: tasks.v2 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.cloud.tasks.v2.CloudTasks |
||||
# 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 |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/queues/{queue} |
||||
entity_name: queue |
||||
- name_pattern: projects/{project}/locations/{location}/queues/{queue}/tasks/{task} |
||||
entity_name: task |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ListQueues |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
header_request_params: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: queues |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 10000 |
||||
- name: GetQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: CreateQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- queue |
||||
required_fields: |
||||
- parent |
||||
- queue |
||||
header_request_params: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 10000 |
||||
- name: UpdateQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- queue |
||||
- update_mask |
||||
required_fields: |
||||
- queue |
||||
header_request_params: |
||||
- queue.name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
queue.name: queue |
||||
timeout_millis: 10000 |
||||
- name: DeleteQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: PurgeQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: PauseQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: ResumeQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: GetIamPolicy |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
header_request_params: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: queue |
||||
timeout_millis: 10000 |
||||
- name: SetIamPolicy |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
header_request_params: |
||||
- resource |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: queue |
||||
timeout_millis: 10000 |
||||
- name: TestIamPermissions |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
header_request_params: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: queue |
||||
timeout_millis: 10000 |
||||
- name: ListTasks |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
header_request_params: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: tasks |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: queue |
||||
timeout_millis: 10000 |
||||
- name: GetTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: task |
||||
timeout_millis: 10000 |
||||
- name: CreateTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- task |
||||
required_fields: |
||||
- parent |
||||
- task |
||||
header_request_params: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: queue |
||||
timeout_millis: 10000 |
||||
- name: DeleteTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: task |
||||
timeout_millis: 10000 |
||||
- name: RunTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: task |
||||
timeout_millis: 10000 |
||||
resource_name_generation: |
||||
- message_name: Queue |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: Task |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: ListQueuesRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: CreateQueueRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: UpdateQueueRequest |
||||
field_entity_map: |
||||
queue.name: queue |
||||
- message_name: DeleteQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: PurgeQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: PauseQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: ResumeQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: ListTasksRequest |
||||
field_entity_map: |
||||
parent: queue |
||||
- message_name: GetTaskRequest |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: CreateTaskRequest |
||||
field_entity_map: |
||||
parent: queue |
||||
- message_name: DeleteTaskRequest |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: RunTaskRequest |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: google.iam.v1.GetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: google.iam.v1.SetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: google.iam.v1.TestIamPermissionsRequest |
||||
field_entity_map: |
||||
resource: "*" |
@ -1,511 +0,0 @@ |
||||
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.tasks.v2beta2 |
||||
python: |
||||
package_name: google.cloud.tasks_v2beta2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/cloudtasks/apiv2beta2 |
||||
csharp: |
||||
package_name: Google.Cloud.Tasks.V2Beta2 |
||||
ruby: |
||||
package_name: Google::Cloud::Tasks::V2beta2 |
||||
php: |
||||
package_name: Google\Cloud\Tasks\V2beta2 |
||||
nodejs: |
||||
package_name: tasks.v2beta2 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.cloud.tasks.v2beta2.CloudTasks |
||||
# 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 |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/queues/{queue} |
||||
entity_name: queue |
||||
- name_pattern: projects/{project}/locations/{location}/queues/{queue}/tasks/{task} |
||||
entity_name: task |
||||
# 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. |
||||
# |
||||
# 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: ListQueues |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
header_request_params: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: queues |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 10000 |
||||
- name: GetQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: CreateQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- queue |
||||
required_fields: |
||||
- parent |
||||
- queue |
||||
header_request_params: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 10000 |
||||
- name: UpdateQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- queue |
||||
- update_mask |
||||
required_fields: |
||||
- queue |
||||
header_request_params: |
||||
- queue.name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
queue.name: queue |
||||
timeout_millis: 10000 |
||||
- name: DeleteQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: PurgeQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: PauseQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: ResumeQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: GetIamPolicy |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
header_request_params: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: queue |
||||
timeout_millis: 10000 |
||||
- name: SetIamPolicy |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
header_request_params: |
||||
- resource |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: queue |
||||
timeout_millis: 10000 |
||||
- name: TestIamPermissions |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
header_request_params: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: queue |
||||
timeout_millis: 10000 |
||||
- name: ListTasks |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
header_request_params: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: tasks |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: queue |
||||
timeout_millis: 10000 |
||||
- name: GetTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: task |
||||
timeout_millis: 10000 |
||||
- name: CreateTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- task |
||||
required_fields: |
||||
- parent |
||||
- task |
||||
header_request_params: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: queue |
||||
timeout_millis: 10000 |
||||
- name: DeleteTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: task |
||||
timeout_millis: 10000 |
||||
- name: LeaseTasks |
||||
resource_name_treatment: STATIC_TYPES |
||||
required_fields: |
||||
- parent |
||||
- lease_duration |
||||
header_request_params: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: queue |
||||
timeout_millis: 10000 |
||||
- name: AcknowledgeTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- schedule_time |
||||
required_fields: |
||||
- name |
||||
- schedule_time |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: task |
||||
timeout_millis: 10000 |
||||
- name: RenewLease |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- schedule_time |
||||
- lease_duration |
||||
required_fields: |
||||
- name |
||||
- schedule_time |
||||
- lease_duration |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: task |
||||
timeout_millis: 10000 |
||||
- name: CancelLease |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- schedule_time |
||||
required_fields: |
||||
- name |
||||
- schedule_time |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: task |
||||
timeout_millis: 10000 |
||||
- name: RunTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: task |
||||
timeout_millis: 10000 |
||||
resource_name_generation: |
||||
- message_name: Queue |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: Task |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: ListQueuesRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: CreateQueueRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: UpdateQueueRequest |
||||
field_entity_map: |
||||
queue.name: queue |
||||
- message_name: DeleteQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: PurgeQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: PauseQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: ResumeQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: ListTasksRequest |
||||
field_entity_map: |
||||
parent: queue |
||||
- message_name: GetTaskRequest |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: CreateTaskRequest |
||||
field_entity_map: |
||||
parent: queue |
||||
- message_name: DeleteTaskRequest |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: LeaseTasksRequest |
||||
field_entity_map: |
||||
parent: queue |
||||
- message_name: AcknowledgeTaskRequest |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: RenewLeaseRequest |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: CancelLeaseRequest |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: RunTaskRequest |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: google.iam.v1.GetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: google.iam.v1.SetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: google.iam.v1.TestIamPermissionsRequest |
||||
field_entity_map: |
||||
resource: "*" |
@ -1,434 +0,0 @@ |
||||
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.tasks.v2beta3 |
||||
python: |
||||
package_name: google.cloud.tasks_v2beta3.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/cloudtasks/apiv2beta3 |
||||
csharp: |
||||
package_name: Google.Cloud.Tasks.V2Beta3 |
||||
ruby: |
||||
package_name: Google::Cloud::Tasks::V2beta3 |
||||
php: |
||||
package_name: Google\Cloud\Tasks\V2beta3 |
||||
nodejs: |
||||
package_name: tasks.v2beta3 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.cloud.tasks.v2beta3.CloudTasks |
||||
# 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 |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/queues/{queue} |
||||
entity_name: queue |
||||
- name_pattern: projects/{project}/locations/{location}/queues/{queue}/tasks/{task} |
||||
entity_name: task |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ListQueues |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
header_request_params: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: queues |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 10000 |
||||
- name: GetQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: CreateQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- queue |
||||
required_fields: |
||||
- parent |
||||
- queue |
||||
header_request_params: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 10000 |
||||
- name: UpdateQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- queue |
||||
- update_mask |
||||
required_fields: |
||||
- queue |
||||
header_request_params: |
||||
- queue.name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
queue.name: queue |
||||
timeout_millis: 10000 |
||||
- name: DeleteQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: PurgeQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: PauseQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: ResumeQueue |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: queue |
||||
timeout_millis: 10000 |
||||
- name: GetIamPolicy |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
header_request_params: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: queue |
||||
timeout_millis: 10000 |
||||
- name: SetIamPolicy |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
header_request_params: |
||||
- resource |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: queue |
||||
timeout_millis: 10000 |
||||
- name: TestIamPermissions |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
header_request_params: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: queue |
||||
timeout_millis: 10000 |
||||
- name: ListTasks |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
header_request_params: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: tasks |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: queue |
||||
timeout_millis: 10000 |
||||
- name: GetTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: task |
||||
timeout_millis: 10000 |
||||
- name: CreateTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- task |
||||
required_fields: |
||||
- parent |
||||
- task |
||||
header_request_params: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: queue |
||||
timeout_millis: 10000 |
||||
- name: DeleteTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: task |
||||
timeout_millis: 10000 |
||||
- name: RunTask |
||||
resource_name_treatment: STATIC_TYPES |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
header_request_params: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: task |
||||
timeout_millis: 10000 |
||||
resource_name_generation: |
||||
- message_name: Queue |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: Task |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: ListQueuesRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: CreateQueueRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: UpdateQueueRequest |
||||
field_entity_map: |
||||
queue.name: queue |
||||
- message_name: DeleteQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: PurgeQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: PauseQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: ResumeQueueRequest |
||||
field_entity_map: |
||||
name: queue |
||||
- message_name: ListTasksRequest |
||||
field_entity_map: |
||||
parent: queue |
||||
- message_name: GetTaskRequest |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: CreateTaskRequest |
||||
field_entity_map: |
||||
parent: queue |
||||
- message_name: DeleteTaskRequest |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: RunTaskRequest |
||||
field_entity_map: |
||||
name: task |
||||
- message_name: google.iam.v1.GetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: google.iam.v1.SetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: google.iam.v1.TestIamPermissionsRequest |
||||
field_entity_map: |
||||
resource: "*" |
@ -1,135 +0,0 @@ |
||||
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.texttospeech.v1 |
||||
python: |
||||
package_name: google.cloud.texttospeech_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/texttospeech/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.TextToSpeech.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::TextToSpeech::V1 |
||||
php: |
||||
package_name: Google\Cloud\TextToSpeech\V1 |
||||
nodejs: |
||||
package_name: text-to-speech.v1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.texttospeech.v1.TextToSpeech |
||||
smoke_test: |
||||
method: SynthesizeSpeech |
||||
init_fields: |
||||
- input.text="test" |
||||
- voice.language_code="en-US" |
||||
- audio_config.audio_encoding=MP3 |
||||
# 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: [] |
||||
# 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. |
||||
# |
||||
# 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: ListVoices |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- language_code |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: SynthesizeSpeech |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- input |
||||
- voice |
||||
- audio_config |
||||
required_fields: |
||||
- input |
||||
- voice |
||||
- audio_config |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,135 +0,0 @@ |
||||
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.texttospeech.v1beta1 |
||||
python: |
||||
package_name: google.cloud.texttospeech_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/texttospeech/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.TextToSpeech.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::TextToSpeech::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\TextToSpeech\V1beta1 |
||||
nodejs: |
||||
package_name: text-to-speech.v1beta1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.texttospeech.v1beta1.TextToSpeech |
||||
smoke_test: |
||||
method: SynthesizeSpeech |
||||
init_fields: |
||||
- input.text="test" |
||||
- voice.language_code="en-US" |
||||
- audio_config.audio_encoding=MP3 |
||||
# 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: [] |
||||
# 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. |
||||
# |
||||
# 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: ListVoices |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- language_code |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: SynthesizeSpeech |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- input |
||||
- voice |
||||
- audio_config |
||||
required_fields: |
||||
- input |
||||
- voice |
||||
- audio_config |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,244 +0,0 @@ |
||||
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.translate.v3 |
||||
python: |
||||
package_name: google.cloud.translate_v3.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/translate/apiv3 |
||||
csharp: |
||||
package_name: Google.Cloud.Translate.V3 |
||||
ruby: |
||||
package_name: Google::Cloud::Translate::V3 |
||||
php: |
||||
package_name: Google\Cloud\Translate\V3 |
||||
nodejs: |
||||
package_name: translate.v3 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.translation.v3.TranslationService |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/glossaries/{glossary} |
||||
entity_name: glossary |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: TranslateText |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- target_language_code |
||||
- contents |
||||
- parameters: |
||||
- parent |
||||
- model |
||||
- mime_type |
||||
- source_language_code |
||||
- target_language_code |
||||
- contents |
||||
required_fields: |
||||
- contents |
||||
- target_language_code |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: DetectLanguage |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- model |
||||
- mime_type |
||||
- content |
||||
required_fields: |
||||
- parent |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetSupportedLanguages |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- model |
||||
- display_language_code |
||||
required_fields: |
||||
- parent |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: BatchTranslateText |
||||
required_fields: |
||||
- parent |
||||
- source_language_code |
||||
- target_language_codes |
||||
- input_configs |
||||
- output_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
long_running: |
||||
return_type: google.cloud.translation.v3.BatchTranslateResponse |
||||
metadata_type: google.cloud.translation.v3.BatchTranslateMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 60000 |
||||
- name: CreateGlossary |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- glossary |
||||
required_fields: |
||||
- parent |
||||
- glossary |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
long_running: |
||||
return_type: google.cloud.translation.v3.Glossary |
||||
metadata_type: google.cloud.translation.v3.CreateGlossaryMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 60000 |
||||
- name: ListGlossaries |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: glossaries |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetGlossary |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: glossary |
||||
timeout_millis: 60000 |
||||
- name: DeleteGlossary |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: glossary |
||||
long_running: |
||||
return_type: google.cloud.translation.v3.DeleteGlossaryResponse |
||||
metadata_type: google.cloud.translation.v3.DeleteGlossaryMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 60000 |
@ -1,235 +0,0 @@ |
||||
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.translate.v3beta1 |
||||
python: |
||||
package_name: google.cloud.translate_v3beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/translate/apiv3beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Translate.V3Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Translate::V3beta1 |
||||
php: |
||||
package_name: Google\Cloud\Translate\V3beta1 |
||||
nodejs: |
||||
package_name: translate.v3beta1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.translation.v3beta1.TranslationService |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/glossaries/{glossary} |
||||
entity_name: glossary |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: TranslateText |
||||
required_fields: |
||||
- contents |
||||
- target_language_code |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: DetectLanguage |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- model |
||||
- mime_type |
||||
required_fields: |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetSupportedLanguages |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- display_language_code |
||||
- model |
||||
required_fields: |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: BatchTranslateText |
||||
required_fields: |
||||
- source_language_code |
||||
- target_language_codes |
||||
- input_configs |
||||
- output_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
long_running: |
||||
return_type: google.cloud.translation.v3beta1.BatchTranslateResponse |
||||
metadata_type: google.cloud.translation.v3beta1.BatchTranslateMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 60000 |
||||
- name: CreateGlossary |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- glossary |
||||
required_fields: |
||||
- parent |
||||
- glossary |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
long_running: |
||||
return_type: google.cloud.translation.v3beta1.Glossary |
||||
metadata_type: google.cloud.translation.v3beta1.CreateGlossaryMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 60000 |
||||
- name: ListGlossaries |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: glossaries |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetGlossary |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: glossary |
||||
timeout_millis: 60000 |
||||
- name: DeleteGlossary |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: glossary |
||||
long_running: |
||||
return_type: google.cloud.translation.v3beta1.DeleteGlossaryResponse |
||||
metadata_type: google.cloud.translation.v3beta1.DeleteGlossaryMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 60000 |
@ -1,63 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.videointelligence.v1p1beta1 |
||||
python: |
||||
package_name: google.cloud.videointelligence_v1p1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/videointelligence/apiv1p1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.VideoIntelligence.V1P1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::VideoIntelligence::V1p1beta1 |
||||
release_level: BETA |
||||
php: |
||||
package_name: Google\Cloud\VideoIntelligence\V1p1beta1 |
||||
nodejs: |
||||
package_name: video-intelligence.v1p1beta1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.cloud.videointelligence.v1p1beta1.VideoIntelligenceService |
||||
smoke_test: |
||||
method: AnnotateVideo |
||||
init_fields: |
||||
- input_uri=gs://cloud-samples-data/video/cat.mp4 |
||||
- features[0]=LABEL_DETECTION |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 1000 |
||||
retry_delay_multiplier: 2.5 |
||||
max_retry_delay_millis: 120000 |
||||
initial_rpc_timeout_millis: 120000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 120000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: AnnotateVideo |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- input_uri |
||||
- features |
||||
long_running: |
||||
return_type: google.cloud.videointelligence.v1p1beta1.AnnotateVideoResponse |
||||
metadata_type: google.cloud.videointelligence.v1p1beta1.AnnotateVideoProgress |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
sample_code_init_fields: |
||||
- input_uri=gs://cloud-samples-data/video/cat.mp4 |
||||
- features[0]=LABEL_DETECTION |
@ -1,63 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.videointelligence.v1p2beta1 |
||||
python: |
||||
package_name: google.cloud.videointelligence_v1p2beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/videointelligence/apiv1p2beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.VideoIntelligence.V1P2Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::VideoIntelligence::V1p2beta1 |
||||
release_level: BETA |
||||
php: |
||||
package_name: Google\Cloud\VideoIntelligence\V1p2beta1 |
||||
nodejs: |
||||
package_name: video-intelligence.v1p2beta1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.cloud.videointelligence.v1p2beta1.VideoIntelligenceService |
||||
smoke_test: |
||||
method: AnnotateVideo |
||||
init_fields: |
||||
- input_uri=gs://cloud-samples-data/video/cat.mp4 |
||||
- features[0]=LABEL_DETECTION |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 1000 |
||||
retry_delay_multiplier: 2.5 |
||||
max_retry_delay_millis: 120000 |
||||
initial_rpc_timeout_millis: 120000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 120000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: AnnotateVideo |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- input_uri |
||||
- features |
||||
long_running: |
||||
return_type: google.cloud.videointelligence.v1p2beta1.AnnotateVideoResponse |
||||
metadata_type: google.cloud.videointelligence.v1p2beta1.AnnotateVideoProgress |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
sample_code_init_fields: |
||||
- input_uri=gs://cloud-samples-data/video/cat.mp4 |
||||
- features[0]=LABEL_DETECTION |
@ -1,237 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.videointelligence.v1p3beta1 |
||||
python: |
||||
package_name: google.cloud.videointelligence_v1p3beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/videointelligence/apiv1p3beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.VideoIntelligence.V1P3Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::VideoIntelligence::V1p3beta1 |
||||
release_level: BETA |
||||
php: |
||||
package_name: Google\Cloud\VideoIntelligence\V1p3beta1 |
||||
nodejs: |
||||
package_name: video-intelligence.v1p3beta1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.cloud.videointelligence.v1p3beta1.VideoIntelligenceService |
||||
smoke_test: |
||||
method: AnnotateVideo |
||||
init_fields: |
||||
- input_uri=gs://cloud-samples-data/video/cat.mp4 |
||||
- features[0]=LABEL_DETECTION |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 1000 |
||||
retry_delay_multiplier: 2.5 |
||||
max_retry_delay_millis: 120000 |
||||
initial_rpc_timeout_millis: 120000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 120000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: AnnotateVideo |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- input_uri |
||||
- features |
||||
long_running: |
||||
return_type: google.cloud.videointelligence.v1p3beta1.AnnotateVideoResponse |
||||
metadata_type: google.cloud.videointelligence.v1p3beta1.AnnotateVideoProgress |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
sample_code_init_fields: |
||||
- input_uri=gs://cloud-samples-data/video/cat.mp4 |
||||
- features[0]=LABEL_DETECTION |
||||
samples: |
||||
standalone: |
||||
- region_tag: video_detect_logo_beta |
||||
value_sets: [video_detect_logo_beta] |
||||
- region_tag: video_detect_logo_gcs_beta |
||||
value_sets: [video_detect_logo_gcs_beta] |
||||
sample_value_sets: |
||||
- id: video_detect_logo_beta |
||||
description: "Performs asynchronous video annotation for logo recognition from inline video content." |
||||
parameters: |
||||
defaults: |
||||
- input_content="resources/googlework_short.mp4" |
||||
- features[0]=LOGO_RECOGNITION |
||||
attributes: |
||||
- parameter: input_content |
||||
sample_argument_name: local_file_path |
||||
read_file: true |
||||
description: Path to local video file, e.g. /path/video.mp4 |
||||
on_success: |
||||
- comment: ["Get the first response, since we sent only one video."] |
||||
- define: annotation_result=$resp.annotation_results[0] |
||||
- comment: ["Annotations for list of logos detected, tracked and recognized in video."] |
||||
- loop: |
||||
collection: annotation_result.logo_recognition_annotations |
||||
variable: logo_recognition_annotation |
||||
body: |
||||
- define: entity=logo_recognition_annotation.entity |
||||
- comment: ["Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/)."] |
||||
- print: ["Entity Id : %s", entity.entity_id] |
||||
- comment: ["Textual description, e.g. `Google`."] |
||||
- print: ["Description : %s", entity.description] |
||||
- comment: ["All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames."] |
||||
- loop: |
||||
collection: logo_recognition_annotation.tracks |
||||
variable: track |
||||
body: |
||||
- comment: ["Video segment of a track."] |
||||
- define: segment=track.segment |
||||
- define: segment_start_time_offset=segment.start_time_offset |
||||
- print: ["\n\tStart Time Offset : %s.%s", segment_start_time_offset.seconds, segment_start_time_offset.nanos] |
||||
- define: segment_end_time_offset=segment.end_time_offset |
||||
- print: ["\tEnd Time Offset : %s.%s", segment_end_time_offset.seconds, segment_end_time_offset.nanos] |
||||
- print: ["\tConfidence : %s", track.confidence] |
||||
- comment: ["The object with timestamp and attributes per frame in the track."] |
||||
- loop: |
||||
collection: track.timestamped_objects |
||||
variable: timestamped_object |
||||
body: |
||||
- comment: ["Normalized Bounding box in a frame, where the object is located."] |
||||
- define: normalized_bounding_box=timestamped_object.normalized_bounding_box |
||||
- print: ["\n\t\tLeft : %s", normalized_bounding_box.left] |
||||
- print: ["\t\tTop : %s", normalized_bounding_box.top] |
||||
- print: ["\t\tRight : %s", normalized_bounding_box.right] |
||||
- print: ["\t\tBottom : %s", normalized_bounding_box.bottom] |
||||
- comment: ["Optional. The attributes of the object in the bounding box."] |
||||
- loop: |
||||
collection: timestamped_object.attributes |
||||
variable: attribute |
||||
body: |
||||
- print: ["\n\t\t\tName : %s", attribute.name] |
||||
- print: ["\t\t\tConfidence : %s", attribute.confidence] |
||||
- print: ["\t\t\tValue : %s", attribute.value] |
||||
- comment: ["Optional. Attributes in the track level."] |
||||
- loop: |
||||
collection: track.attributes |
||||
variable: track_attribute |
||||
body: |
||||
- print: ["\n\t\tName : %s", track_attribute.name] |
||||
- print: ["\t\tConfidence : %s", track_attribute.confidence] |
||||
- print: ["\t\tValue : %s", track_attribute.value] |
||||
- comment: ["All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment."] |
||||
- loop: |
||||
collection: logo_recognition_annotation.segments |
||||
variable: logo_recognition_annotation_segment |
||||
body: |
||||
- define: logo_recognition_annotation_segment_start_time_offset=logo_recognition_annotation_segment.start_time_offset |
||||
- print: ["\n\tStart Time Offset : %s.%s", logo_recognition_annotation_segment_start_time_offset.seconds, logo_recognition_annotation_segment_start_time_offset.nanos] |
||||
- define: logo_recognition_annotation_segment_end_time_offset=logo_recognition_annotation_segment.end_time_offset |
||||
- print: ["\tEnd Time Offset : %s.%s", logo_recognition_annotation_segment_end_time_offset.seconds, logo_recognition_annotation_segment_end_time_offset.nanos] |
||||
- id: video_detect_logo_gcs_beta |
||||
description: "Performs asynchronous video annotation for logo recognition on a file hosted in GCS." |
||||
parameters: |
||||
defaults: |
||||
- input_uri=gs://cloud-samples-data/video/googlework_short.mp4 |
||||
- features[0]=LOGO_RECOGNITION |
||||
on_success: |
||||
- comment: ["Get the first response, since we sent only one video."] |
||||
- define: annotation_result=$resp.annotation_results[0] |
||||
- comment: ["Annotations for list of logos detected, tracked and recognized in video."] |
||||
- loop: |
||||
collection: annotation_result.logo_recognition_annotations |
||||
variable: logo_recognition_annotation |
||||
body: |
||||
- define: entity=logo_recognition_annotation.entity |
||||
- comment: ["Opaque entity ID. Some IDs may be available in [Google Knowledge Graph Search API](https://developers.google.com/knowledge-graph/)."] |
||||
- print: ["Entity Id : %s", entity.entity_id] |
||||
- comment: ["Textual description, e.g. `Google`."] |
||||
- print: ["Description : %s", entity.description] |
||||
- comment: ["All logo tracks where the recognized logo appears. Each track corresponds to one logo instance appearing in consecutive frames."] |
||||
- loop: |
||||
collection: logo_recognition_annotation.tracks |
||||
variable: track |
||||
body: |
||||
- comment: ["Video segment of a track."] |
||||
- define: segment=track.segment |
||||
- define: segment_start_time_offset=segment.start_time_offset |
||||
- print: ["\n\tStart Time Offset : %s.%s", segment_start_time_offset.seconds, segment_start_time_offset.nanos] |
||||
- define: segment_end_time_offset=segment.end_time_offset |
||||
- print: ["\tEnd Time Offset : %s.%s", segment_end_time_offset.seconds, segment_end_time_offset.nanos] |
||||
- print: ["\tConfidence : %s", track.confidence] |
||||
- comment: ["The object with timestamp and attributes per frame in the track."] |
||||
- loop: |
||||
collection: track.timestamped_objects |
||||
variable: timestamped_object |
||||
body: |
||||
- comment: ["Normalized Bounding box in a frame, where the object is located."] |
||||
- define: normalized_bounding_box=timestamped_object.normalized_bounding_box |
||||
- print: ["\n\t\tLeft : %s", normalized_bounding_box.left] |
||||
- print: ["\t\tTop : %s", normalized_bounding_box.top] |
||||
- print: ["\t\tRight : %s", normalized_bounding_box.right] |
||||
- print: ["\t\tBottom : %s", normalized_bounding_box.bottom] |
||||
- comment: ["Optional. The attributes of the object in the bounding box."] |
||||
- loop: |
||||
collection: timestamped_object.attributes |
||||
variable: attribute |
||||
body: |
||||
- print: ["\n\t\t\tName : %s", attribute.name] |
||||
- print: ["\t\t\tConfidence : %s", attribute.confidence] |
||||
- print: ["\t\t\tValue : %s", attribute.value] |
||||
- comment: ["Optional. Attributes in the track level."] |
||||
- loop: |
||||
collection: track.attributes |
||||
variable: track_attribute |
||||
body: |
||||
- print: ["\n\t\tName : %s", track_attribute.name] |
||||
- print: ["\t\tConfidence : %s", track_attribute.confidence] |
||||
- print: ["\t\tValue : %s", track_attribute.value] |
||||
- comment: ["All video segments where the recognized logo appears. There might be multiple instances of the same logo class appearing in one VideoSegment."] |
||||
- loop: |
||||
collection: logo_recognition_annotation.segments |
||||
variable: logo_recognition_annotation_segment |
||||
body: |
||||
- define: logo_recognition_annotation_segment_start_time_offset=logo_recognition_annotation_segment.start_time_offset |
||||
- print: ["\n\tStart Time Offset : %s.%s", logo_recognition_annotation_segment_start_time_offset.seconds, logo_recognition_annotation_segment_start_time_offset.nanos] |
||||
- define: logo_recognition_annotation_segment_end_time_offset=logo_recognition_annotation_segment.end_time_offset |
||||
- print: ["\tEnd Time Offset : %s.%s", logo_recognition_annotation_segment_end_time_offset.seconds, logo_recognition_annotation_segment_end_time_offset.nanos] |
||||
# TODO: This config is currently broken: |
||||
# https://github.com/googleapis/gapic-generator/issues/1057 |
||||
# https://github.com/googleapis/gapic-generator/issues/1149 |
||||
- name: google.cloud.videointelligence.v1p3beta1.StreamingVideoIntelligenceService |
||||
collections: [] |
||||
# 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: 10800000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 10800000 |
||||
total_timeout_millis: 10800000 |
||||
methods: |
||||
- name: StreamingAnnotateVideo |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10800000 |
@ -1,640 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.vision.v1 |
||||
release_level: GA |
||||
python: |
||||
package_name: google.cloud.vision_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/vision/apiv1 |
||||
release_level: GA |
||||
csharp: |
||||
package_name: Google.Cloud.Vision.V1 |
||||
release_level: GA |
||||
ruby: |
||||
package_name: Google::Cloud::Vision::V1 |
||||
php: |
||||
package_name: Google\Cloud\Vision\V1 |
||||
nodejs: |
||||
package_name: vision.v1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.cloud.vision.v1.ImageAnnotator |
||||
smoke_test: |
||||
method: BatchAnnotateImages |
||||
init_fields: |
||||
- requests[0].image.source.gcs_image_uri="gs://cloud-samples-data/vision/face_detection/celebrity_recognition/sergey.jpg" |
||||
- requests[0].features[0].type=FACE_DETECTION |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: BatchAnnotateImages |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: BatchAnnotateFiles |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
samples: |
||||
standalone: |
||||
- region_tag: vision_batch_annotate_files_gcs |
||||
value_sets: [vision_batch_annotate_files_gcs] |
||||
- region_tag: vision_batch_annotate_files |
||||
value_sets: [vision_batch_annotate_files] |
||||
sample_value_sets: |
||||
- id: vision_batch_annotate_files_gcs |
||||
description: "Perform batch file annotation" |
||||
parameters: |
||||
defaults: |
||||
- requests[0].input_config.gcs_source.uri=gs://cloud-samples-data/vision/document_understanding/kafka.pdf |
||||
- requests[0].features[0].type=DOCUMENT_TEXT_DETECTION |
||||
- requests[0].pages[0]=1 |
||||
- requests[0].pages[1]=2 |
||||
- requests[0].pages[2]="-1" |
||||
attributes: |
||||
- parameter: requests[0].input_config.gcs_source.uri |
||||
sample_argument_name: storage_uri |
||||
description: "Cloud Storage URI to source image in the format gs://[bucket]/[file]" |
||||
- parameter: requests[0].pages[0] |
||||
description: | |
||||
The service can process up to 5 pages per document file. |
||||
Here we specify the first, second, and last page of the document to be processed. |
||||
on_success: |
||||
- loop: |
||||
collection: $resp.responses[0].responses |
||||
variable: image_response |
||||
body: |
||||
- print: ["Full text: %s", image_response.full_text_annotation.text] |
||||
- loop: |
||||
collection: image_response.full_text_annotation.pages |
||||
variable: page |
||||
body: |
||||
- loop: |
||||
collection: page.blocks |
||||
variable: block |
||||
body: |
||||
- print: ["\nBlock confidence: %s", block.confidence] |
||||
- loop: |
||||
collection: block.paragraphs |
||||
variable: par |
||||
body: |
||||
- print: ["\tParagraph confidence: %s", par.confidence] |
||||
- loop: |
||||
collection: par.words |
||||
variable: word |
||||
body: |
||||
- print: ["\t\tWord confidence: %s", word.confidence] |
||||
- loop: |
||||
collection: word.symbols |
||||
variable: symbol |
||||
body: |
||||
- print: ["\t\t\tSymbol: %s, (confidence: %s)", symbol.text, symbol.confidence] |
||||
- id: vision_batch_annotate_files |
||||
description: "Perform batch file annotation" |
||||
parameters: |
||||
defaults: |
||||
- requests[0].input_config.mime_type="application/pdf" |
||||
- requests[0].input_config.content="resources/kafka.pdf" |
||||
- requests[0].features[0].type=DOCUMENT_TEXT_DETECTION |
||||
- requests[0].pages[0]=1 |
||||
- requests[0].pages[1]=2 |
||||
- requests[0].pages[2]="-1" |
||||
attributes: |
||||
- parameter: requests[0].input_config.mime_type |
||||
description: "Supported mime_type: application/pdf, image/tiff, image/gif" |
||||
- parameter: requests[0].input_config.content |
||||
sample_argument_name: file_path |
||||
read_file: true |
||||
description: Path to local pdf file, e.g. /path/document.pdf |
||||
- parameter: requests[0].pages[0] |
||||
description: "The service can process up to 5 pages per document file. Here we specify the first, second, and last page of the document to be processed." |
||||
on_success: |
||||
- loop: |
||||
collection: $resp.responses[0].responses |
||||
variable: image_response |
||||
body: |
||||
- print: ["Full text: %s", image_response.full_text_annotation.text] |
||||
- loop: |
||||
collection: image_response.full_text_annotation.pages |
||||
variable: page |
||||
body: |
||||
- loop: |
||||
collection: page.blocks |
||||
variable: block |
||||
body: |
||||
- print: ["\nBlock confidence: %s", block.confidence] |
||||
- loop: |
||||
collection: block.paragraphs |
||||
variable: par |
||||
body: |
||||
- print: ["\tParagraph confidence: %s", par.confidence] |
||||
- loop: |
||||
collection: par.words |
||||
variable: word |
||||
body: |
||||
- print: ["\t\tWord confidence: %s", word.confidence] |
||||
- loop: |
||||
collection: word.symbols |
||||
variable: symbol |
||||
body: |
||||
- print: ["\t\t\tSymbol: %s, (confidence: %s)", symbol.text, symbol.confidence] |
||||
- name: AsyncBatchAnnotateImages |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
- output_config |
||||
required_fields: |
||||
- requests |
||||
- output_config |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
long_running: |
||||
return_type: google.cloud.vision.v1.AsyncBatchAnnotateImagesResponse |
||||
metadata_type: google.cloud.vision.v1.OperationMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
timeout_millis: 60000 |
||||
samples: |
||||
standalone: |
||||
- region_tag: vision_async_batch_annotate_images |
||||
value_sets: [vision_async_batch_annotate_images] |
||||
sample_value_sets: |
||||
- id: vision_async_batch_annotate_images |
||||
title: Async Batch Image Annotation |
||||
description: "Perform async batch image annotation" |
||||
parameters: |
||||
defaults: |
||||
- requests[0].image.source.image_uri=gs://cloud-samples-data/vision/label/wakeupcat.jpg |
||||
- requests[0].features[0].type=LABEL_DETECTION |
||||
- requests[0].features[1].type=IMAGE_PROPERTIES |
||||
- output_config.gcs_destination.uri=gs://your-bucket/prefix/ |
||||
- output_config.batch_size=2 |
||||
attributes: |
||||
- parameter: requests[0].image.source.image_uri |
||||
sample_argument_name: input_image_uri |
||||
- parameter: output_config.gcs_destination.uri |
||||
sample_argument_name: output_uri |
||||
- parameter: output_config.batch_size |
||||
description: The max number of responses to output in each JSON file |
||||
on_success: |
||||
- comment: ["The output is written to GCS with the provided output_uri as prefix"] |
||||
- define: gcs_output_uri=$resp.output_config.gcs_destination.uri |
||||
- print: ["Output written to GCS with prefix: %s", gcs_output_uri] |
||||
- name: AsyncBatchAnnotateFiles |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
long_running: |
||||
return_type: google.cloud.vision.v1.AsyncBatchAnnotateFilesResponse |
||||
metadata_type: google.cloud.vision.v1.OperationMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
timeout_millis: 60000 |
||||
- name: google.cloud.vision.v1.ProductSearch |
||||
collections: |
||||
- name_pattern: projects/{project}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/productSets/{product_set} |
||||
entity_name: product_set |
||||
- name_pattern: projects/{project}/locations/{location}/products/{product} |
||||
entity_name: product |
||||
- name_pattern: projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image} |
||||
entity_name: reference_image |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: CreateProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- product_set |
||||
- product_set_id |
||||
required_fields: |
||||
- parent |
||||
- product_set |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: location |
||||
- name: ListProductSets |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: product_sets |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: location |
||||
- name: GetProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
name: product_set |
||||
- name: UpdateProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- product_set |
||||
- update_mask |
||||
required_fields: |
||||
- product_set |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
product_set.name: product_set |
||||
- name: DeleteProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
name: product_set |
||||
- name: CreateProduct |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- product |
||||
- product_id |
||||
required_fields: |
||||
- parent |
||||
- product |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: location |
||||
- name: ListProducts |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: products |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: location |
||||
- name: GetProduct |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
name: product |
||||
- name: UpdateProduct |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- product |
||||
- update_mask |
||||
required_fields: |
||||
- product |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
product.name: product |
||||
- name: DeleteProduct |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
name: product |
||||
- name: CreateReferenceImage |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- reference_image |
||||
- reference_image_id |
||||
required_fields: |
||||
- parent |
||||
- reference_image |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: product |
||||
- name: DeleteReferenceImage |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: reference_image |
||||
timeout_millis: 60000 |
||||
- name: ListReferenceImages |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: reference_images |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: product |
||||
- name: GetReferenceImage |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: reference_image |
||||
timeout_millis: 60000 |
||||
- name: AddProductToProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- product |
||||
required_fields: |
||||
- name |
||||
- product |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
name: product_set |
||||
product: product |
||||
- name: RemoveProductFromProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- product |
||||
required_fields: |
||||
- name |
||||
- product |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
name: product_set |
||||
product: product |
||||
- name: ListProductsInProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: products |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
name: product_set |
||||
- name: ImportProductSets |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- input_config |
||||
required_fields: |
||||
- parent |
||||
- input_config |
||||
long_running: |
||||
return_type: google.cloud.vision.v1.ImportProductSetsResponse |
||||
metadata_type: google.cloud.vision.v1.BatchOperationMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: location |
||||
- name: PurgeProducts |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.cloud.vision.v1.BatchOperationMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: location |
||||
# Force string formatting functions to be generated. |
||||
enable_string_format_functions_override: true |
||||
resource_name_generation: |
||||
- message_name: CreateProductSetRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: ListProductSetsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: UpdateProductSetRequest |
||||
field_entity_map: |
||||
product_set.name: product_set |
||||
- message_name: DeleteProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: CreateProductRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: ListProductsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetProductRequest |
||||
field_entity_map: |
||||
name: product |
||||
- message_name: UpdateProductRequest |
||||
field_entity_map: |
||||
product.name: product |
||||
- message_name: DeleteProductRequest |
||||
field_entity_map: |
||||
name: product |
||||
- message_name: CreateReferenceImageRequest |
||||
field_entity_map: |
||||
parent: product |
||||
- message_name: DeleteReferenceImageRequest |
||||
field_entity_map: |
||||
name: reference_image |
||||
- message_name: ListReferenceImagesRequest |
||||
field_entity_map: |
||||
parent: product |
||||
- message_name: GetReferenceImageRequest |
||||
field_entity_map: |
||||
name: reference_image |
||||
- message_name: AddProductToProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
product: product |
||||
- message_name: RemoveProductFromProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
product: product |
||||
- message_name: ListProductsInProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: ImportProductSetsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: Product |
||||
field_entity_map: |
||||
name: product |
||||
- message_name: ProductSet |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: PurgeProductsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: ReferenceImage |
||||
field_entity_map: |
||||
name: reference_image |
||||
- message_name: ProductSearchParams |
||||
field_entity_map: |
||||
product_set: product_set |
@ -1,55 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.vision.v1p1beta1 |
||||
python: |
||||
package_name: google.cloud.vision_v1p1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/vision/apiv1p1beta1 |
||||
release_level: BETA |
||||
csharp: |
||||
package_name: Google.Cloud.Vision.V1P1Beta1 |
||||
release_level: BETA |
||||
ruby: |
||||
package_name: Google::Cloud::Vision::V1p1beta1 |
||||
php: |
||||
package_name: Google\Cloud\Vision\V1p1beta1 |
||||
nodejs: |
||||
package_name: vision.v1p1beta1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.cloud.vision.v1p1beta1.ImageAnnotator |
||||
smoke_test: |
||||
method: BatchAnnotateImages |
||||
init_fields: |
||||
- requests[0].image.source.gcs_image_uri="gs://cloud-samples-data/vision/face_detection/celebrity_recognition/sergey.jpg" |
||||
- requests[0].features[0].type=FACE_DETECTION |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: BatchAnnotateImages |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,72 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.vision.v1p2beta1 |
||||
python: |
||||
package_name: google.cloud.vision_v1p2beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/vision/apiv1p2beta1 |
||||
release_level: BETA |
||||
csharp: |
||||
package_name: Google.Cloud.Vision.V1P2Beta1 |
||||
release_level: BETA |
||||
ruby: |
||||
package_name: Google::Cloud::Vision::V1p2beta1 |
||||
php: |
||||
package_name: Google\Cloud\Vision\V1p2beta1 |
||||
nodejs: |
||||
package_name: vision.v1p2beta1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.cloud.vision.v1p2beta1.ImageAnnotator |
||||
smoke_test: |
||||
method: BatchAnnotateImages |
||||
init_fields: |
||||
- requests[0].image.source.gcs_image_uri="gs://cloud-samples-data/vision/face_detection/celebrity_recognition/sergey.jpg" |
||||
- requests[0].features[0].type=FACE_DETECTION |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: BatchAnnotateImages |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: AsyncBatchAnnotateFiles |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
long_running: |
||||
return_type: google.cloud.vision.v1p2beta1.AsyncBatchAnnotateFilesResponse |
||||
metadata_type: google.cloud.vision.v1p2beta1.OperationMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,444 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.vision.v1p3beta1 |
||||
python: |
||||
package_name: google.cloud.vision_v1p3beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/vision/apiv1p3beta1 |
||||
domain_layer_location: cloud.google.com/go/vision |
||||
csharp: |
||||
package_name: Google.Cloud.Vision.V1p3beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Vision::V1p3beta1 |
||||
php: |
||||
package_name: Google\Cloud\Vision\V1p3beta1 |
||||
nodejs: |
||||
package_name: vision.v1p3beta1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.cloud.vision.v1p3beta1.ProductSearch |
||||
collections: |
||||
- name_pattern: projects/{project}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/productSets/{product_set} |
||||
entity_name: product_set |
||||
- name_pattern: projects/{project}/locations/{location}/products/{product} |
||||
entity_name: product |
||||
- name_pattern: projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image} |
||||
entity_name: reference_image |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
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 |
||||
methods: |
||||
- name: CreateProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- product_set |
||||
- product_set_id |
||||
required_fields: |
||||
- parent |
||||
- product_set |
||||
- product_set_id |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: ListProductSets |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: product_sets |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product_set |
||||
timeout_millis: 60000 |
||||
- name: UpdateProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- product_set |
||||
- update_mask |
||||
required_fields: |
||||
- product_set |
||||
- update_mask |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
product_set.name: product_set |
||||
timeout_millis: 60000 |
||||
- name: DeleteProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product_set |
||||
timeout_millis: 60000 |
||||
- name: CreateProduct |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- product |
||||
- product_id |
||||
required_fields: |
||||
- parent |
||||
- product |
||||
- product_id |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: ListProducts |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: products |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetProduct |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product |
||||
timeout_millis: 60000 |
||||
- name: UpdateProduct |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- product |
||||
- update_mask |
||||
required_fields: |
||||
- product |
||||
- update_mask |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
product.name: product |
||||
timeout_millis: 60000 |
||||
- name: DeleteProduct |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product |
||||
timeout_millis: 60000 |
||||
- name: CreateReferenceImage |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- reference_image |
||||
- reference_image_id |
||||
required_fields: |
||||
- parent |
||||
- reference_image |
||||
- reference_image_id |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: product |
||||
timeout_millis: 60000 |
||||
- name: DeleteReferenceImage |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: reference_image |
||||
timeout_millis: 60000 |
||||
- name: ListReferenceImages |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: reference_images |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: product |
||||
timeout_millis: 60000 |
||||
- name: GetReferenceImage |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: reference_image |
||||
timeout_millis: 60000 |
||||
- name: AddProductToProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- product |
||||
required_fields: |
||||
- name |
||||
- product |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product_set |
||||
timeout_millis: 60000 |
||||
- name: RemoveProductFromProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- product |
||||
required_fields: |
||||
- name |
||||
- product |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product_set |
||||
timeout_millis: 60000 |
||||
- name: ListProductsInProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: products |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product_set |
||||
timeout_millis: 60000 |
||||
- name: ImportProductSets |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- input_config |
||||
required_fields: |
||||
- parent |
||||
- input_config |
||||
long_running: |
||||
return_type: google.cloud.vision.v1p3beta1.ImportProductSetsResponse |
||||
metadata_type: google.cloud.vision.v1p3beta1.BatchOperationMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: google.cloud.vision.v1p3beta1.ImageAnnotator |
||||
smoke_test: |
||||
method: BatchAnnotateImages |
||||
init_fields: |
||||
- requests[0].image.source.gcs_image_uri="gs://cloud-samples-data/vision/face_detection/celebrity_recognition/sergey.jpg" |
||||
- requests[0].features[0].type=FACE_DETECTION |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: BatchAnnotateImages |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: AsyncBatchAnnotateFiles |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
long_running: |
||||
return_type: google.cloud.vision.v1p3beta1.AsyncBatchAnnotateFilesResponse |
||||
metadata_type: google.cloud.vision.v1p3beta1.OperationMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
resource_name_generation: |
||||
- message_name: CreateProductSetRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: ListProductSetsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: UpdateProductSetRequest |
||||
field_entity_map: |
||||
product_set.name: product_set |
||||
- message_name: DeleteProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: CreateProductRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: ListProductsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetProductRequest |
||||
field_entity_map: |
||||
name: product |
||||
- message_name: UpdateProductRequest |
||||
field_entity_map: |
||||
product.name: product |
||||
- message_name: DeleteProductRequest |
||||
field_entity_map: |
||||
name: product |
||||
- message_name: CreateReferenceImageRequest |
||||
field_entity_map: |
||||
parent: product |
||||
- message_name: DeleteReferenceImageRequest |
||||
field_entity_map: |
||||
name: reference_image |
||||
- message_name: ListReferenceImagesRequest |
||||
field_entity_map: |
||||
parent: product |
||||
- message_name: GetReferenceImageRequest |
||||
field_entity_map: |
||||
name: reference_image |
||||
- message_name: AddProductToProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: RemoveProductFromProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: ListProductsInProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: ImportProductSetsRequest |
||||
field_entity_map: |
||||
parent: location |
@ -1,603 +0,0 @@ |
||||
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.vision.v1p4beta1 |
||||
python: |
||||
package_name: google.cloud.vision_v1p4beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/vision/apiv1p4beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Vision.V1p4beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Vision::V1p4beta1 |
||||
php: |
||||
package_name: Google\Cloud\Vision\V1p4beta1 |
||||
nodejs: |
||||
package_name: vision.v1p4beta1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.vision.v1p4beta1.ProductSearch |
||||
# 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}/locations/{location} |
||||
entity_name: location |
||||
- name_pattern: projects/{project}/locations/{location}/productSets/{product_set} |
||||
entity_name: product_set |
||||
- name_pattern: projects/{project}/locations/{location}/products/{product} |
||||
entity_name: product |
||||
- name_pattern: projects/{project}/locations/{location}/products/{product}/referenceImages/{reference_image} |
||||
entity_name: reference_image |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreateProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- product_set |
||||
- product_set_id |
||||
required_fields: |
||||
- parent |
||||
- product_set |
||||
- product_set_id |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: ListProductSets |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: product_sets |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product_set |
||||
timeout_millis: 60000 |
||||
- name: UpdateProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- product_set |
||||
- update_mask |
||||
required_fields: |
||||
- product_set |
||||
- update_mask |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
product_set.name: product_set |
||||
timeout_millis: 60000 |
||||
- name: DeleteProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product_set |
||||
timeout_millis: 60000 |
||||
- name: CreateProduct |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- product |
||||
- product_id |
||||
required_fields: |
||||
- parent |
||||
- product |
||||
- product_id |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: ListProducts |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: products |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
- name: GetProduct |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product |
||||
timeout_millis: 60000 |
||||
- name: UpdateProduct |
||||
# params. |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- product |
||||
- update_mask |
||||
required_fields: |
||||
- product |
||||
- update_mask |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
product.name: product |
||||
timeout_millis: 60000 |
||||
- name: DeleteProduct |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product |
||||
timeout_millis: 60000 |
||||
- name: CreateReferenceImage |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- reference_image |
||||
- reference_image_id |
||||
required_fields: |
||||
- parent |
||||
- reference_image |
||||
- reference_image_id |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: product |
||||
timeout_millis: 60000 |
||||
- name: DeleteReferenceImage |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: reference_image |
||||
timeout_millis: 60000 |
||||
- name: ListReferenceImages |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: reference_images |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: product |
||||
timeout_millis: 60000 |
||||
- name: GetReferenceImage |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: reference_image |
||||
timeout_millis: 60000 |
||||
- name: AddProductToProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- product |
||||
required_fields: |
||||
- name |
||||
- product |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product_set |
||||
timeout_millis: 60000 |
||||
- name: RemoveProductFromProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- product |
||||
required_fields: |
||||
- name |
||||
- product |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product_set |
||||
timeout_millis: 60000 |
||||
- name: ListProductsInProductSet |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: products |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: product_set |
||||
timeout_millis: 60000 |
||||
- name: ImportProductSets |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- input_config |
||||
required_fields: |
||||
- parent |
||||
- input_config |
||||
long_running: |
||||
return_type: google.cloud.vision.v1p4beta1.ImportProductSetsResponse |
||||
metadata_type: google.cloud.vision.v1p4beta1.BatchOperationMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: location |
||||
timeout_millis: 60000 |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.vision.v1p4beta1.ImageAnnotator |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
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. |
||||
# |
||||
# 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: BatchAnnotateImages |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: BatchAnnotateFiles |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: AsyncBatchAnnotateImages |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
- output_config |
||||
required_fields: |
||||
- requests |
||||
- output_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
long_running: |
||||
return_type: google.cloud.vision.v1p4beta1.AsyncBatchAnnotateImagesResponse |
||||
metadata_type: google.cloud.vision.v1p4beta1.OperationMetadata |
||||
initial_poll_delay_millis: 500 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 5000 |
||||
total_poll_timeout_millis: 300000 |
||||
timeout_millis: 60000 |
||||
- name: AsyncBatchAnnotateFiles |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- requests |
||||
required_fields: |
||||
- requests |
||||
long_running: |
||||
return_type: google.cloud.vision.v1p4beta1.AsyncBatchAnnotateFilesResponse |
||||
metadata_type: google.cloud.vision.v1p4beta1.OperationMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
resource_name_generation: |
||||
- message_name: CreateProductSetRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: ListProductSetsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: UpdateProductSetRequest |
||||
field_entity_map: |
||||
product_set.name: product_set |
||||
- message_name: DeleteProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: CreateProductRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: ListProductsRequest |
||||
field_entity_map: |
||||
parent: location |
||||
- message_name: GetProductRequest |
||||
field_entity_map: |
||||
name: product |
||||
- message_name: UpdateProductRequest |
||||
field_entity_map: |
||||
product.name: product |
||||
- message_name: DeleteProductRequest |
||||
field_entity_map: |
||||
name: product |
||||
- message_name: CreateReferenceImageRequest |
||||
field_entity_map: |
||||
parent: product |
||||
- message_name: DeleteReferenceImageRequest |
||||
field_entity_map: |
||||
name: reference_image |
||||
- message_name: ListReferenceImagesRequest |
||||
field_entity_map: |
||||
parent: product |
||||
- message_name: GetReferenceImageRequest |
||||
field_entity_map: |
||||
name: reference_image |
||||
- message_name: AddProductToProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: RemoveProductFromProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: ListProductsInProductSetRequest |
||||
field_entity_map: |
||||
name: product_set |
||||
- message_name: ImportProductSetsRequest |
||||
field_entity_map: |
||||
parent: location |
@ -1,142 +0,0 @@ |
||||
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.webrisk.v1beta1 |
||||
python: |
||||
package_name: google.cloud.webrisk_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/webrisk/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.WebRisk.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Webrisk::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\WebRisk\V1beta1 |
||||
nodejs: |
||||
package_name: web-risk.v1beta1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.cloud.webrisk.v1beta1.WebRiskServiceV1Beta1 |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: ComputeThreatListDiff |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- threat_type |
||||
- version_token |
||||
- constraints |
||||
required_fields: |
||||
- threat_type |
||||
- constraints |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: SearchUris |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- uri |
||||
- threat_types |
||||
required_fields: |
||||
- uri |
||||
- threat_types |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: SearchHashes |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- hash_prefix |
||||
- threat_types |
||||
required_fields: |
||||
- threat_types |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,356 +0,0 @@ |
||||
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.websecurityscanner.v1alpha |
||||
python: |
||||
package_name: google.cloud.websecurityscanner_v1alpha.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/cloud/websecurityscanner/apiv1alpha |
||||
csharp: |
||||
package_name: Google.Cloud.Websecurityscanner.V1Alpha |
||||
ruby: |
||||
package_name: Google::Cloud::Websecurityscanner::V1alpha |
||||
php: |
||||
package_name: Google\Cloud\Websecurityscanner\V1alpha |
||||
nodejs: |
||||
package_name: websecurityscanner.v1alpha |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.websecurityscanner.v1alpha.WebSecurityScanner |
||||
# 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 |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/scanConfigs/{scan_config} |
||||
entity_name: scan_config |
||||
- name_pattern: projects/{project}/scanConfigs/{scan_config}/scanRuns/{scan_run} |
||||
entity_name: scan_run |
||||
- name_pattern: projects/{project}/scanConfigs/{scan_config}/scanRuns/{scan_run}/findings/{finding} |
||||
entity_name: finding |
||||
# 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. |
||||
# |
||||
# 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: CreateScanConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- scan_config |
||||
required_fields: |
||||
- parent |
||||
- scan_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: DeleteScanConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: scan_config |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: GetScanConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: scan_config |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: ListScanConfigs |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: scan_configs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: UpdateScanConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- scan_config |
||||
- update_mask |
||||
required_fields: |
||||
- scan_config |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
scan_config.name: scan_config |
||||
timeout_millis: 60000 |
||||
- name: StartScanRun |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: scan_config |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: GetScanRun |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: scan_run |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: ListScanRuns |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: scan_runs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: scan_config |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: StopScanRun |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: scan_run |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: ListCrawledUrls |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: crawled_urls |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: scan_run |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: GetFinding |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: finding |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: ListFindings |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
- filter |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: findings |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: scan_run |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: ListFindingTypeStats |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: scan_run |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
resource_name_generation: |
||||
- message_name: CreateScanConfigRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: DeleteScanConfigRequest |
||||
field_entity_map: |
||||
name: scan_config |
||||
- message_name: GetScanConfigRequest |
||||
field_entity_map: |
||||
name: scan_config |
||||
- message_name: ListScanConfigsRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: StartScanRunRequest |
||||
field_entity_map: |
||||
name: scan_config |
||||
- message_name: GetScanRunRequest |
||||
field_entity_map: |
||||
name: scan_run |
||||
- message_name: ListScanRunsRequest |
||||
field_entity_map: |
||||
parent: scan_config |
||||
- message_name: StopScanRunRequest |
||||
field_entity_map: |
||||
name: scan_run |
||||
- message_name: ListCrawledUrlsRequest |
||||
field_entity_map: |
||||
parent: scan_run |
||||
- message_name: GetFindingRequest |
||||
field_entity_map: |
||||
name: finding |
||||
- message_name: ListFindingsRequest |
||||
field_entity_map: |
||||
parent: scan_run |
||||
- message_name: ListFindingTypeStatsRequest |
||||
field_entity_map: |
||||
parent: scan_run |
@ -1,294 +0,0 @@ |
||||
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.websecurityscanner.v1beta |
||||
python: |
||||
package_name: google.cloud.websecurityscanner_v1beta.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/websecurityscanner/apiv1beta |
||||
csharp: |
||||
package_name: Google.Cloud.Websecurityscanner.V1beta |
||||
ruby: |
||||
package_name: Google::Cloud::Websecurityscanner::V1beta |
||||
php: |
||||
package_name: Google\Cloud\WebSecurityScanner\V1beta |
||||
nodejs: |
||||
package_name: websecurityscanner.v1beta |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.cloud.websecurityscanner.v1beta.WebSecurityScanner |
||||
# 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}/scanConfigs/{scan_config} |
||||
entity_name: scan_config |
||||
- name_pattern: projects/{project}/scanConfigs/{scan_config}/scanRuns/{scan_run} |
||||
entity_name: scan_run |
||||
- name_pattern: projects/{project}/scanConfigs/{scan_config}/scanRuns/{scan_run}/findings/{finding} |
||||
entity_name: finding |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: CreateScanConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- scan_config |
||||
required_fields: |
||||
- parent |
||||
- scan_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: DeleteScanConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: scan_config |
||||
timeout_millis: 60000 |
||||
- name: GetScanConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: scan_config |
||||
timeout_millis: 60000 |
||||
- name: ListScanConfigs |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: scan_configs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 60000 |
||||
- name: UpdateScanConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- scan_config |
||||
- update_mask |
||||
required_fields: |
||||
- scan_config |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
scan_config.name: scan_config |
||||
timeout_millis: 60000 |
||||
- name: StartScanRun |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: scan_config |
||||
timeout_millis: 60000 |
||||
- name: GetScanRun |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: scan_run |
||||
timeout_millis: 60000 |
||||
- name: ListScanRuns |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: scan_runs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: scan_config |
||||
timeout_millis: 60000 |
||||
- name: StopScanRun |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: scan_run |
||||
timeout_millis: 60000 |
||||
- name: ListCrawledUrls |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: crawled_urls |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: scan_run |
||||
timeout_millis: 60000 |
||||
- name: GetFinding |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: finding |
||||
timeout_millis: 60000 |
||||
- name: ListFindings |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
- filter |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: findings |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: scan_run |
||||
timeout_millis: 60000 |
||||
- name: ListFindingTypeStats |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: scan_run |
||||
timeout_millis: 60000 |
@ -1,524 +0,0 @@ |
||||
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.container.v1 |
||||
python: |
||||
package_name: google.cloud.container_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/container/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.Container.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Container::V1 |
||||
release_level: BETA |
||||
php: |
||||
package_name: Google\Cloud\Container\V1 |
||||
nodejs: |
||||
package_name: container.v1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.container.v1.ClusterManager |
||||
# 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: [] |
||||
# Definition for smoke test |
||||
smoke_test: |
||||
method: ListClusters |
||||
init_fields: |
||||
- project_id=$PROJECT_ID |
||||
- zone="us-central1-a" |
||||
# 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. |
||||
# |
||||
# 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: ListClusters |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: GetCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: CreateCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 45000 |
||||
- name: UpdateCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- update |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- update |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: UpdateNodePool |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
- node_version |
||||
- image_type |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetNodePoolAutoscaling |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
- autoscaling |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetLoggingService |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- logging_service |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- logging_service |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetMonitoringService |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- monitoring_service |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- monitoring_service |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetAddonsConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- addons_config |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- addons_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetLocations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- locations |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- locations |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: UpdateMaster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- master_version |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- master_version |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetMasterAuth |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- action |
||||
- update |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: DeleteCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: ListOperations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: GetOperation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- operation_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- operation_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: CancelOperation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- operation_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- operation_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: GetServerConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: ListNodePools |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: GetNodePool |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: CreateNodePool |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: DeleteNodePool |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: RollbackNodePoolUpgrade |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetNodePoolManagement |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
- management |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetLabels |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- resource_labels |
||||
- label_fingerprint |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetLegacyAbac |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- enabled |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- enabled |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: StartIPRotation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: CompleteIPRotation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetNodePoolSize |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
- node_count |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetNetworkPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- network_policy |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- network_policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetMaintenancePolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- maintenance_policy |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- maintenance_policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
@ -1,551 +0,0 @@ |
||||
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.container.v1beta1 |
||||
python: |
||||
package_name: google.cloud.container_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/container/apiv1beta1 |
||||
csharp: |
||||
package_name: Google.Cloud.Container.V1beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Container::V1beta1 |
||||
release_level: BETA |
||||
php: |
||||
package_name: Google\Cloud\Container\V1beta1 |
||||
nodejs: |
||||
package_name: container.v1beta1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.container.v1beta1.ClusterManager |
||||
# 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: [] |
||||
# Definition for smoke test |
||||
smoke_test: |
||||
method: ListClusters |
||||
init_fields: |
||||
- project_id=$PROJECT_ID |
||||
- zone="us-central1-a" |
||||
# 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. |
||||
# |
||||
# 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: ListClusters |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: GetCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: CreateCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: UpdateCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- update |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- update |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: UpdateNodePool |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
- node_version |
||||
- image_type |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetNodePoolAutoscaling |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
- autoscaling |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetLoggingService |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- logging_service |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- logging_service |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetMonitoringService |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- monitoring_service |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- monitoring_service |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetAddonsConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- addons_config |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- addons_config |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetLocations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- locations |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- locations |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: UpdateMaster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- master_version |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- master_version |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetMasterAuth |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- action |
||||
- update |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: DeleteCluster |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: ListOperations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: GetOperation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- operation_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- operation_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: CancelOperation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- operation_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- operation_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: GetServerConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: ListNodePools |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: GetNodePool |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: CreateNodePool |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: DeleteNodePool |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: RollbackNodePoolUpgrade |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetNodePoolManagement |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
- management |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetLabels |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- resource_labels |
||||
- label_fingerprint |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetLegacyAbac |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- enabled |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- enabled |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: StartIPRotation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: CompleteIPRotation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetNodePoolSize |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- node_pool_id |
||||
- node_count |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetNetworkPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- network_policy |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- network_policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: SetMaintenancePolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- maintenance_policy |
||||
required_fields: |
||||
- project_id |
||||
- zone |
||||
- cluster_id |
||||
- maintenance_policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: ListUsableSubnetworks |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: subnetworks |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
||||
- name: ListLocations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 20000 |
@ -1,133 +0,0 @@ |
||||
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.datastore.admin.v1 |
||||
python: |
||||
package_name: google.cloud.datastore.admin_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/datastore/admin/apiv1 |
||||
csharp: |
||||
package_name: Google.Datastore.Admin.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Datastore::Admin::V1 |
||||
php: |
||||
package_name: Google\Cloud\Datastore\Admin\V1 |
||||
nodejs: |
||||
package_name: admin.v1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.datastore.admin.v1.DatastoreAdmin |
||||
# 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: [] |
||||
# 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. |
||||
# |
||||
# 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: ExportEntities |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- labels |
||||
- entity_filter |
||||
- output_url_prefix |
||||
required_fields: |
||||
- project_id |
||||
- output_url_prefix |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 295000 |
||||
- name: ImportEntities |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- labels |
||||
- input_url |
||||
- entity_filter |
||||
required_fields: |
||||
- project_id |
||||
- input_url |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 295000 |
@ -1,126 +0,0 @@ |
||||
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.devtools.build.v1 |
||||
python: |
||||
package_name: google.cloud.devtools.build_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/devtools/build/apiv1 |
||||
csharp: |
||||
package_name: Google.Devtools.Build.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Devtools::Build::V1 |
||||
php: |
||||
package_name: Google\Cloud\Devtools\Build\V1 |
||||
nodejs: |
||||
package_name: build.v1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.devtools.build.v1.PublishBuildEvent |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: PublishLifecycleEvent |
||||
required_fields: |
||||
- build_event |
||||
- project_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: PublishBuildToolEventStream |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- ordered_build_event |
||||
- notification_keywords |
||||
- project_id |
||||
required_fields: |
||||
- ordered_build_event |
||||
- project_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,242 +0,0 @@ |
||||
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.devtools.cloudbuild.v1 |
||||
python: |
||||
package_name: google.cloud.devtools.cloudbuild_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/cloudbuild/apiv1 |
||||
release_level: GA |
||||
csharp: |
||||
package_name: Google.Devtools.Cloudbuild.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Devtools::Cloudbuild::V1 |
||||
php: |
||||
package_name: Google\Cloud\Devtools\Cloudbuild\V1 |
||||
nodejs: |
||||
package_name: cloudbuild.v1 |
||||
domain_layer_location: google-cloud |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.devtools.cloudbuild.v1.CloudBuild |
||||
# 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: [] |
||||
# 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. |
||||
# |
||||
# 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: CreateBuild |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- build |
||||
required_fields: |
||||
- project_id |
||||
- build |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: GetBuild |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- id |
||||
required_fields: |
||||
- project_id |
||||
- id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ListBuilds |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- filter |
||||
required_fields: |
||||
- project_id |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: builds |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: CancelBuild |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- id |
||||
required_fields: |
||||
- project_id |
||||
- id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: CreateBuildTrigger |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- trigger |
||||
required_fields: |
||||
- project_id |
||||
- trigger |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: GetBuildTrigger |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- trigger_id |
||||
required_fields: |
||||
- project_id |
||||
- trigger_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ListBuildTriggers |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
required_fields: |
||||
- project_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: DeleteBuildTrigger |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- trigger_id |
||||
required_fields: |
||||
- project_id |
||||
- trigger_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: UpdateBuildTrigger |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- trigger_id |
||||
- trigger |
||||
required_fields: |
||||
- project_id |
||||
- trigger_id |
||||
- trigger |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: RunBuildTrigger |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- trigger_id |
||||
- source |
||||
required_fields: |
||||
- project_id |
||||
- trigger_id |
||||
- source |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: RetryBuild |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- id |
||||
required_fields: |
||||
- project_id |
||||
- id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,156 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.debugger.v2 |
||||
python: |
||||
package_name: google.cloud.debugger_v2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/debugger/apiv2 |
||||
domain_layer_location: cloud.google.com/go/cmd/go-cloud-debug-agent |
||||
csharp: |
||||
package_name: Google.Cloud.Debugger.V2 |
||||
ruby: |
||||
package_name: Google::Cloud::Debugger::V2 |
||||
php: |
||||
package_name: Google\Cloud\Debugger\V2 |
||||
nodejs: |
||||
package_name: debugger.v2 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.devtools.clouddebugger.v2.Debugger2 |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: SetBreakpoint |
||||
required_fields: |
||||
- debuggee_id |
||||
- breakpoint |
||||
- client_version |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- debuggee_id |
||||
- breakpoint |
||||
- client_version |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: GetBreakpoint |
||||
required_fields: |
||||
- debuggee_id |
||||
- breakpoint_id |
||||
- client_version |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- debuggee_id |
||||
- breakpoint_id |
||||
- client_version |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: DeleteBreakpoint |
||||
required_fields: |
||||
- debuggee_id |
||||
- breakpoint_id |
||||
- client_version |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- debuggee_id |
||||
- breakpoint_id |
||||
- client_version |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ListBreakpoints |
||||
required_fields: |
||||
- debuggee_id |
||||
- client_version |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- debuggee_id |
||||
- client_version |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ListDebuggees |
||||
required_fields: |
||||
- project |
||||
- client_version |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project |
||||
- client_version |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: google.devtools.clouddebugger.v2.Controller2 |
||||
collections: [] |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: RegisterDebuggee |
||||
required_fields: |
||||
- debuggee |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- debuggee |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ListActiveBreakpoints |
||||
required_fields: |
||||
- debuggee_id |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- debuggee_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: UpdateActiveBreakpoint |
||||
required_fields: |
||||
- debuggee_id |
||||
- breakpoint |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- debuggee_id |
||||
- breakpoint |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,223 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.errorreporting.v1beta1 |
||||
python: |
||||
package_name: google.cloud.errorreporting_v1beta1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/errorreporting/apiv1beta1 |
||||
domain_layer_location: cloud.google.com/go/errorreporting |
||||
csharp: |
||||
package_name: Google.Cloud.ErrorReporting.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::ErrorReporting::V1beta1 |
||||
php: |
||||
package_name: Google\Cloud\ErrorReporting\V1beta1 |
||||
nodejs: |
||||
package_name: errorreporting.v1beta1 |
||||
domain_layer_location: google-cloud |
||||
collections: |
||||
- name_pattern: projects/{project} |
||||
entity_name: project |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/groups/{group} |
||||
entity_name: group |
||||
interfaces: |
||||
- name: google.devtools.clouderrorreporting.v1beta1.ErrorGroupService |
||||
collections: |
||||
- name_pattern: projects/{project}/groups/{group} |
||||
entity_name: group |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
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 |
||||
methods: |
||||
- name: GetGroup |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- group_name |
||||
required_fields: |
||||
- group_name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
group_name: group |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: UpdateGroup |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- group |
||||
required_fields: |
||||
- group |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
group.name: group |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: google.devtools.clouderrorreporting.v1beta1.ReportErrorsService |
||||
smoke_test: |
||||
method: ReportErrorEvent |
||||
init_fields: |
||||
- project_name%project=$PROJECT_ID |
||||
- event.message="[MESSAGE]" |
||||
- event.service_context.service="[SERVICE]" |
||||
- event.context.report_location.file_path="path/to/file.lang" |
||||
- event.context.report_location.line_number=42 |
||||
- event.context.report_location.function_name="meaningOfLife" |
||||
collections: |
||||
- name_pattern: projects/{project} |
||||
entity_name: project |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
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 |
||||
methods: |
||||
- name: ReportErrorEvent |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_name |
||||
- event |
||||
required_fields: |
||||
- project_name |
||||
- event |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
project_name: project |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: google.devtools.clouderrorreporting.v1beta1.ErrorStatsService |
||||
collections: |
||||
- name_pattern: projects/{project} |
||||
entity_name: project |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
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 |
||||
methods: |
||||
- name: ListGroupStats |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_name |
||||
- time_range |
||||
required_fields: |
||||
- project_name |
||||
- time_range |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: error_group_stats |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
project_name: project |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: ListEvents |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_name |
||||
- group_id |
||||
required_fields: |
||||
- project_name |
||||
- group_id |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: error_events |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
project_name: project |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
- name: DeleteEvents |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_name |
||||
required_fields: |
||||
- project_name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
project_name: project |
||||
resource_name_treatment: STATIC_TYPES |
||||
timeout_millis: 60000 |
||||
resource_name_generation: |
||||
- message_name: ErrorGroup |
||||
field_entity_map: |
||||
name: group |
||||
- message_name: GetGroupRequest |
||||
field_entity_map: |
||||
group_name: group |
||||
- message_name: ListGroupStatsRequest |
||||
field_entity_map: |
||||
project_name: project |
||||
- message_name: ListEventsRequest |
||||
field_entity_map: |
||||
project_name: project |
||||
- message_name: DeleteEventsRequest |
||||
field_entity_map: |
||||
project_name: project |
||||
- message_name: ReportErrorEventRequest |
||||
field_entity_map: |
||||
project_name: project |
@ -1,84 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.trace.v1 |
||||
python: |
||||
package_name: google.cloud.trace_v1.gapic |
||||
ruby: |
||||
package_name: Google::Cloud::Trace::V1 |
||||
php: |
||||
package_name: Google\Cloud\Trace\V1 |
||||
nodejs: |
||||
package_name: trace.v1 |
||||
domain_layer_location: google-cloud |
||||
go: |
||||
package_name: cloud.google.com/go/trace/apiv1 |
||||
domain_layer_location: cloud.google.com/go/trace |
||||
csharp: |
||||
package_name: Google.Cloud.Trace.V1 |
||||
release_level: GA |
||||
interfaces: |
||||
- name: google.devtools.cloudtrace.v1.TraceService |
||||
smoke_test: |
||||
method: ListTraces |
||||
init_fields: |
||||
- project_id=$PROJECT_ID |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.2 |
||||
max_retry_delay_millis: 1000 |
||||
initial_rpc_timeout_millis: 20000 |
||||
rpc_timeout_multiplier: 1.5 |
||||
max_rpc_timeout_millis: 30000 |
||||
total_timeout_millis: 45000 |
||||
methods: |
||||
- name: PatchTraces |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- traces |
||||
required_fields: |
||||
- project_id |
||||
- traces |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: GetTrace |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
- trace_id |
||||
required_fields: |
||||
- project_id |
||||
- trace_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
||||
- name: ListTraces |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: traces |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project_id |
||||
required_fields: |
||||
- project_id |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 30000 |
@ -1,141 +0,0 @@ |
||||
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.trace.v2 |
||||
python: |
||||
package_name: google.cloud.trace_v2.gapic |
||||
ruby: |
||||
package_name: Google::Cloud::Trace::V2 |
||||
release_level: BETA |
||||
php: |
||||
package_name: Google\Cloud\Trace\V2 |
||||
nodejs: |
||||
package_name: trace.v2 |
||||
domain_layer_location: google-cloud |
||||
go: |
||||
package_name: cloud.google.com/go/trace/apiv2 |
||||
csharp: |
||||
package_name: Google.Cloud.Trace.V2 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.devtools.cloudtrace.v2.TraceService |
||||
# 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 |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/traces/{trace}/spans/{span} |
||||
entity_name: span |
||||
# Definition for smoke test. |
||||
smoke_test: |
||||
method: BatchWriteSpans |
||||
init_fields: |
||||
- name%project=$PROJECT_ID |
||||
# 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.2 |
||||
max_retry_delay_millis: 1000 |
||||
initial_rpc_timeout_millis: 30000 |
||||
rpc_timeout_multiplier: 1.5 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 120000 |
||||
|
||||
# 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. |
||||
# |
||||
# 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: BatchWriteSpans |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- spans |
||||
required_fields: |
||||
- name |
||||
- spans |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: project |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: CreateSpan |
||||
required_fields: |
||||
- name |
||||
- span_id |
||||
- display_name |
||||
- start_time |
||||
- end_time |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: span |
||||
timeout_millis: 30000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
resource_name_generation: |
||||
- message_name: BatchWriteSpansRequest |
||||
field_entity_map: |
||||
name: project |
||||
- message_name: Span |
||||
field_entity_map: |
||||
name: span |
@ -1,181 +0,0 @@ |
||||
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.devtools.containeranalysis.v1 |
||||
python: |
||||
package_name: google.cloud.devtools.containeranalysis_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/containeranalysis/apiv1 |
||||
release_level: BETA |
||||
csharp: |
||||
package_name: Google.Cloud.DevTools.ContainerAnalysis.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::ContainerAnalysis::V1 |
||||
php: |
||||
package_name: Google\Cloud\Devtools\Containeranalysis\V1 |
||||
nodejs: |
||||
package_name: containeranalysis.v1 |
||||
domain_layer_location: google-cloud |
||||
# 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 |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Grafeas.V1.ProjectName |
||||
- name_pattern: projects/{project}/notes/{note} |
||||
entity_name: note |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Grafeas.V1.NoteName |
||||
- name_pattern: projects/{project}/occurrences/{occurrence} |
||||
entity_name: occurrence |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Grafeas.V1.OccurrenceName |
||||
collection_oneofs: |
||||
- oneof_name: iam_resource_oneof |
||||
collection_names: |
||||
- note |
||||
- occurrence |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.devtools.containeranalysis.v1.ContainerAnalysis |
||||
# 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. |
||||
# |
||||
# 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: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: iam_resource_oneof |
||||
timeout_millis: 30000 |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: iam_resource_oneof |
||||
timeout_millis: 30000 |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: iam_resource_oneof |
||||
timeout_millis: 30000 |
||||
resource_name_generation: |
||||
- message_name: google.iam.v1.SetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: '*' |
||||
- message_name: google.iam.v1.GetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: '*' |
||||
- message_name: google.iam.v1.TestIamPermissionsRequest |
||||
field_entity_map: |
||||
resource: '*' |
@ -1,137 +0,0 @@ |
||||
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.devtools.remoteworkers.v1test2 |
||||
python: |
||||
package_name: google.cloud.devtools.remoteworkers.v1test2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/devtools/remoteworkers/apiv1test2 |
||||
csharp: |
||||
package_name: Google.Devtools.Remoteworkers.V1test2 |
||||
ruby: |
||||
package_name: Google::Cloud::Devtools::Remoteworkers::V1test2 |
||||
php: |
||||
package_name: Google\Cloud\Devtools\Remoteworkers\V1test2 |
||||
nodejs: |
||||
package_name: remoteworkers.v1test2 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.devtools.remoteworkers.v1test2.Bots |
||||
# 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: "{unknown_path=**}/botSessions/{bot_session}" |
||||
entity_name: bot_session |
||||
# 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. |
||||
# |
||||
# 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: CreateBotSession |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- bot_session |
||||
required_fields: |
||||
- parent |
||||
- bot_session |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: UpdateBotSession |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- bot_session |
||||
- update_mask |
||||
required_fields: |
||||
- name |
||||
- bot_session |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: bot_session |
||||
timeout_millis: 60000 |
||||
# The fully qualified name of the API interface. |
@ -1,229 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.firestore.v1beta1 |
||||
python: |
||||
package_name: google.cloud.firestore_v1beta1.gapic |
||||
release_level: ALPHA |
||||
go: |
||||
package_name: cloud.google.com/go/firestore/apiv1beta1 |
||||
domain_layer_location: cloud.google.com/go/firestore |
||||
release_level: BETA |
||||
csharp: |
||||
package_name: Google.Cloud.Firestore.V1Beta1 |
||||
ruby: |
||||
package_name: Google::Cloud::Firestore::V1beta1 |
||||
release_level: GA |
||||
php: |
||||
package_name: Google\Cloud\Firestore\V1beta1 |
||||
nodejs: |
||||
package_name: firestore.v1beta1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.firestore.v1beta1.Firestore |
||||
collections: |
||||
- name_pattern: projects/{project}/databases/{database} |
||||
entity_name: database_root |
||||
- name_pattern: projects/{project}/databases/{database}/documents |
||||
entity_name: document_root |
||||
- name_pattern: projects/{project}/databases/{database}/documents/{document_path=**} |
||||
entity_name: document_path |
||||
- name_pattern: projects/{project}/databases/{database}/documents/{document}/{any_path=**} |
||||
entity_name: any_path |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- RESOURCE_EXHAUSTED |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
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 |
||||
- name: streaming |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
# Five minutes |
||||
initial_rpc_timeout_millis: 300000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 300000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: GetDocument |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: any_path |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: ListDocuments |
||||
required_fields: |
||||
- parent |
||||
- collection_id |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: documents |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: document_root |
||||
parent: any_path |
||||
timeout_millis: 60000 |
||||
- name: CreateDocument |
||||
required_fields: |
||||
- parent |
||||
- collection_id |
||||
- document_id |
||||
- document |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: document_root |
||||
parent: any_path |
||||
timeout_millis: 60000 |
||||
- name: UpdateDocument |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- document |
||||
- update_mask |
||||
required_fields: |
||||
- document |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
document.name: any_path |
||||
timeout_millis: 60000 |
||||
- name: DeleteDocument |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: any_path |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: BatchGetDocuments |
||||
required_fields: |
||||
- database |
||||
- documents |
||||
retry_codes_name: idempotent |
||||
retry_params_name: streaming |
||||
field_name_patterns: |
||||
database: database_root |
||||
# Five minutes |
||||
timeout_millis: 300000 |
||||
- name: BeginTransaction |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- database |
||||
required_fields: |
||||
- database |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
database: database_root |
||||
timeout_millis: 60000 |
||||
- name: Commit |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- database |
||||
- writes |
||||
required_fields: |
||||
- database |
||||
- writes |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
database: database_root |
||||
timeout_millis: 60000 |
||||
- name: Rollback |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- database |
||||
- transaction |
||||
required_fields: |
||||
- database |
||||
- transaction |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
database: database_root |
||||
timeout_millis: 60000 |
||||
- name: RunQuery |
||||
required_fields: |
||||
- parent |
||||
retry_codes_name: idempotent |
||||
retry_params_name: streaming |
||||
field_name_patterns: |
||||
parent: document_root |
||||
parent: any_path |
||||
timeout_millis: 60000 |
||||
- name: Write |
||||
required_fields: |
||||
- database |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: streaming |
||||
field_name_patterns: |
||||
database: database_root |
||||
# One day |
||||
timeout_millis: 86400000 |
||||
- name: Listen |
||||
required_fields: |
||||
- database |
||||
retry_codes_name: idempotent |
||||
retry_params_name: streaming |
||||
field_name_patterns: |
||||
database: database_root |
||||
# One day |
||||
timeout_millis: 86400000 |
||||
- name: ListCollectionIds |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: collection_ids |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: document_root |
||||
parent: any_path |
||||
timeout_millis: 60000 |
||||
resource_name_generation: |
||||
- message_name: GetDocumentRequest |
||||
field_entity_map: |
||||
name: any_path |
||||
- message_name: DeleteDocumentRequest |
||||
field_entity_map: |
||||
name: any_path |
@ -1,249 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.iam.admin.v1 |
||||
python: |
||||
package_name: google.cloud.iam_admin_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/iam/admin/apiv1 |
||||
csharp: |
||||
package_name: Google.Iam.Admin.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Iam::Admin::V1 |
||||
php: |
||||
package_name: Google\Cloud\Iam\Admin\V1 |
||||
nodejs: |
||||
package_name: iam.v1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.iam.admin.v1.IAM |
||||
collections: |
||||
- name_pattern: projects/{project} |
||||
entity_name: project |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/serviceAccounts/{service_account} |
||||
entity_name: service_account |
||||
- name_pattern: projects/{project}/serviceAccounts/{service_account}/keys/{key} |
||||
entity_name: key |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
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 |
||||
methods: |
||||
- name: ListServiceAccounts |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: accounts |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: project |
||||
timeout_millis: 60000 |
||||
- name: GetServiceAccount |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: service_account |
||||
timeout_millis: 60000 |
||||
- name: CreateServiceAccount |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- account_id |
||||
- service_account |
||||
required_fields: |
||||
- name |
||||
- account_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: project |
||||
timeout_millis: 60000 |
||||
- name: UpdateServiceAccount |
||||
required_fields: |
||||
- etag |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: service_account |
||||
timeout_millis: 60000 |
||||
- name: DeleteServiceAccount |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: service_account |
||||
timeout_millis: 60000 |
||||
- name: ListServiceAccountKeys |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- key_types |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: service_account |
||||
timeout_millis: 60000 |
||||
- name: GetServiceAccountKey |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- public_key_type |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: key |
||||
timeout_millis: 60000 |
||||
- name: CreateServiceAccountKey |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- private_key_type |
||||
- key_algorithm |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: service_account |
||||
timeout_millis: 60000 |
||||
- name: DeleteServiceAccountKey |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: key |
||||
timeout_millis: 60000 |
||||
- name: SignBlob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- bytes_to_sign |
||||
required_fields: |
||||
- name |
||||
- bytes_to_sign |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: service_account |
||||
timeout_millis: 60000 |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: service_account |
||||
timeout_millis: 60000 |
||||
surface_treatments: |
||||
- include_languages: |
||||
- go |
||||
visibility: PRIVATE |
||||
- name: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: service_account |
||||
timeout_millis: 60000 |
||||
surface_treatments: |
||||
- include_languages: |
||||
- go |
||||
visibility: PRIVATE |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: service_account |
||||
timeout_millis: 60000 |
||||
- name: QueryGrantableRoles |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- full_resource_name |
||||
required_fields: |
||||
- full_resource_name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: SignJwt |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- payload |
||||
required_fields: |
||||
- name |
||||
- payload |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,133 +0,0 @@ |
||||
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.iam.credentials.v1 |
||||
python: |
||||
package_name: google.cloud.iam_credentials_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/iam/credentials/apiv1 |
||||
csharp: |
||||
package_name: Google.Iam.Credentials.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Iam::Credentials::V1 |
||||
php: |
||||
package_name: Google\Cloud\Iam\Credentials\V1 |
||||
nodejs: |
||||
package_name: credentials.v1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.iam.credentials.v1.IAMCredentials |
||||
# 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}/serviceAccounts/{service_account} |
||||
entity_name: service_account |
||||
# 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 |
||||
methods: |
||||
- name: GenerateAccessToken |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- delegates |
||||
- scope |
||||
- lifetime |
||||
required_fields: |
||||
- name |
||||
- scope |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: service_account |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: GenerateIdToken |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- delegates |
||||
- audience |
||||
- include_email |
||||
required_fields: |
||||
- name |
||||
- audience |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: service_account |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: SignBlob |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- delegates |
||||
- payload |
||||
required_fields: |
||||
- name |
||||
- payload |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: service_account |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: SignJwt |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- delegates |
||||
- payload |
||||
required_fields: |
||||
- name |
||||
- payload |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: service_account |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
resource_name_generation: |
||||
- message_name: GenerateAccessTokenRequest |
||||
field_entity_map: |
||||
name: service_account |
||||
- message_name: GenerateIdTokenRequest |
||||
field_entity_map: |
||||
name: service_account |
||||
- message_name: SignBlobRequest |
||||
field_entity_map: |
||||
name: service_account |
||||
- message_name: SignJwtRequest |
||||
field_entity_map: |
||||
name: service_account |
@ -1,28 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.iam.v1 |
||||
python: |
||||
package_name: google.cloud.iam_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/iam/apiv1 |
||||
csharp: |
||||
package_name: Google.Iam.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Iam::V1 |
||||
php: |
||||
package_name: Google\Cloud\Iam\V1 |
||||
nodejs: |
||||
package_name: iam.core.v1 |
||||
domain_layer_location: google-cloud |
||||
resource_name_generation: |
||||
- message_name: SetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: GetIamPolicyRequest |
||||
field_entity_map: |
||||
resource: "*" |
||||
- message_name: TestIamPermissionsRequest |
||||
field_entity_map: |
||||
resource: "*" |
@ -1,132 +0,0 @@ |
||||
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.iam.v1 |
||||
python: |
||||
package_name: google.cloud.iam_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/iam/apiv1 |
||||
csharp: |
||||
package_name: Google.Iam.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Iam::V1 |
||||
php: |
||||
package_name: Google\Cloud\Iam\V1 |
||||
nodejs: |
||||
package_name: iam.v1 |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: google.iam.v1.IAMPolicy |
||||
# 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: [] |
||||
# Definition for retryable codes. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- UNAVAILABLE |
||||
- 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. |
||||
# |
||||
# 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: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- options |
||||
required_fields: |
||||
- resource |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
@ -1,572 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.logging.v2 |
||||
interface_names: |
||||
google.logging.v2.ConfigServiceV2: Config |
||||
google.logging.v2.LoggingServiceV2: Logging |
||||
google.logging.v2.MetricsServiceV2: Metrics |
||||
python: |
||||
package_name: google.cloud.logging_v2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/logging/apiv2 |
||||
domain_layer_location: cloud.google.com/go/logging |
||||
csharp: |
||||
package_name: Google.Cloud.Logging.V2 |
||||
release_level: GA |
||||
ruby: |
||||
package_name: Google::Cloud::Logging::V2 |
||||
php: |
||||
package_name: Google\Cloud\Logging\V2 |
||||
nodejs: |
||||
package_name: logging.v2 |
||||
domain_layer_location: google-cloud |
||||
collections: |
||||
- name_pattern: projects/{project} |
||||
entity_name: project |
||||
# C#: Already GA, do not use common resource name for 'project' |
||||
- name_pattern: "projects/{project}/logs/{log}" |
||||
entity_name: log |
||||
language_overrides: |
||||
- language: java |
||||
entity_name: project_log |
||||
- name_pattern: "projects/{project}/sinks/{sink}" |
||||
entity_name: sink |
||||
language_overrides: |
||||
- language: java |
||||
entity_name: project_sink |
||||
- name_pattern: projects/{project}/metrics/{metric} |
||||
entity_name: metric |
||||
language_overrides: |
||||
- language: java |
||||
entity_name: project_metric |
||||
- name_pattern: "projects/{project}/exclusions/{exclusion}" |
||||
entity_name: exclusion |
||||
language_overrides: |
||||
- language: java |
||||
entity_name: project_exclusion |
||||
- name_pattern: organizations/{organization} |
||||
entity_name: organization |
||||
- name_pattern: organizations/{organization}/logs/{log} |
||||
entity_name: organization_log |
||||
- name_pattern: organizations/{organization}/sinks/{sink} |
||||
entity_name: organization_sink |
||||
- name_pattern: organizations/{organization}/exclusions/{exclusion} |
||||
entity_name: organization_exclusion |
||||
- name_pattern: folders/{folder} |
||||
entity_name: folder |
||||
- name_pattern: folders/{folder}/logs/{log} |
||||
entity_name: folder_log |
||||
- name_pattern: folders/{folder}/sinks/{sink} |
||||
entity_name: folder_sink |
||||
- name_pattern: folders/{folder}/exclusions/{exclusion} |
||||
entity_name: folder_exclusion |
||||
- name_pattern: billingAccounts/{billing_account} |
||||
entity_name: billing |
||||
- name_pattern: billingAccounts/{billing_account}/logs/{log} |
||||
entity_name: billing_log |
||||
- name_pattern: billingAccounts/{billing_account}/sinks/{sink} |
||||
entity_name: billing_sink |
||||
- name_pattern: billingAccounts/{billing_account}/exclusions/{exclusion} |
||||
entity_name: billing_exclusion |
||||
collection_oneofs: |
||||
- oneof_name: parent_oneof |
||||
collection_names: |
||||
- project |
||||
- organization |
||||
- folder |
||||
- billing |
||||
- oneof_name: sink_oneof |
||||
collection_names: |
||||
- sink |
||||
- organization_sink |
||||
- folder_sink |
||||
- billing_sink |
||||
- oneof_name: exclusion_oneof |
||||
collection_names: |
||||
- exclusion |
||||
- organization_exclusion |
||||
- folder_exclusion |
||||
- billing_exclusion |
||||
- oneof_name: log_oneof |
||||
collection_names: |
||||
- log |
||||
- organization_log |
||||
- folder_log |
||||
- billing_log |
||||
- oneof_name: metric_oneof |
||||
collection_names: |
||||
- metric |
||||
interfaces: |
||||
- name: google.logging.v2.ConfigServiceV2 |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- INTERNAL |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
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 |
||||
- name: write_sink |
||||
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 |
||||
methods: |
||||
- name: ListSinks |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
token_field: page_token |
||||
page_size_field: page_size |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: sinks |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: parent_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: GetSink |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- sink_name |
||||
required_fields: |
||||
- sink_name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
sink_name: sink_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: CreateSink |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- sink |
||||
required_fields: |
||||
- parent |
||||
- sink |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 120000 |
||||
field_name_patterns: |
||||
parent: parent_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: UpdateSink |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- sink_name |
||||
- sink |
||||
- update_mask |
||||
- parameters: |
||||
- sink_name |
||||
- sink |
||||
required_fields: |
||||
- sink_name |
||||
- sink |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 120000 |
||||
field_name_patterns: |
||||
sink_name: sink_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: DeleteSink |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- sink_name |
||||
required_fields: |
||||
- sink_name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
sink_name: sink_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: ListExclusions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
token_field: page_token |
||||
page_size_field: page_size |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: exclusions |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: parent_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: GetExclusion |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
name: exclusion_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: CreateExclusion |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- exclusion |
||||
required_fields: |
||||
- parent |
||||
- exclusion |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: parent_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: UpdateExclusion |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- exclusion |
||||
- update_mask |
||||
required_fields: |
||||
- name |
||||
- exclusion |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
name: exclusion_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: DeleteExclusion |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
name: exclusion_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: google.logging.v2.MetricsServiceV2 |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- INTERNAL |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
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 |
||||
methods: |
||||
- name: ListLogMetrics |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
token_field: page_token |
||||
page_size_field: page_size |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: metrics |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: parent_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: GetLogMetric |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- metric_name |
||||
required_fields: |
||||
- metric_name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
metric_name: metric_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: CreateLogMetric |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- metric |
||||
required_fields: |
||||
- parent |
||||
- metric |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
parent: parent_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: UpdateLogMetric |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- metric_name |
||||
- metric |
||||
required_fields: |
||||
- metric_name |
||||
- metric |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
metric_name: metric_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: DeleteLogMetric |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- metric_name |
||||
required_fields: |
||||
- metric_name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
metric_name: metric_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: google.logging.v2.LoggingServiceV2 |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- INTERNAL |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
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 |
||||
- name: list |
||||
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 |
||||
methods: |
||||
- name: DeleteLog |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- log_name |
||||
required_fields: |
||||
- log_name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
log_name: log_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: WriteLogEntries |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- log_name |
||||
- resource |
||||
- labels |
||||
- entries |
||||
required_fields: |
||||
- entries |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
field_name_patterns: |
||||
log_name: log_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
batching: |
||||
thresholds: |
||||
element_count_threshold: 1000 |
||||
request_byte_threshold: 1048576 # 1 MiB |
||||
delay_threshold_millis: 50 |
||||
flow_control_element_limit: 100000 |
||||
flow_control_byte_limit: 10485760 # 10 MiB |
||||
flow_control_limit_exceeded_behavior: THROW_EXCEPTION |
||||
batch_descriptor: |
||||
batched_field: entries |
||||
discriminator_fields: |
||||
- log_name |
||||
- resource |
||||
- labels |
||||
- name: ListLogEntries |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource_names |
||||
- filter |
||||
- order_by |
||||
required_fields: |
||||
- resource_names |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: entries |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 10000 |
||||
field_name_patterns: |
||||
resource_names: parent_oneof |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: ListMonitoredResourceDescriptors |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: resource_descriptors |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
- name: ListLogs |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: log_names |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: parent_oneof |
||||
timeout_millis: 60000 |
||||
resource_name_treatment: STATIC_TYPES |
||||
resource_name_generation: |
||||
- message_name: LogMetric |
||||
field_entity_map: |
||||
name: metric_oneof |
||||
- message_name: DeleteLogRequest |
||||
field_entity_map: |
||||
log_name: log_oneof |
||||
- message_name: WriteLogEntriesRequest |
||||
field_entity_map: |
||||
log_name: log_oneof |
||||
- message_name: ListLogEntriesRequest |
||||
field_entity_map: |
||||
resource_names: parent_oneof |
||||
- message_name: LogEntry |
||||
field_entity_map: |
||||
log_name: log_oneof |
||||
- message_name: LogSink |
||||
field_entity_map: |
||||
destination: "*" |
||||
- message_name: ListSinksRequest |
||||
field_entity_map: |
||||
parent: parent_oneof |
||||
- message_name: GetSinkRequest |
||||
field_entity_map: |
||||
sink_name: sink_oneof |
||||
- message_name: CreateSinkRequest |
||||
field_entity_map: |
||||
parent: parent_oneof |
||||
- message_name: UpdateSinkRequest |
||||
field_entity_map: |
||||
sink_name: sink_oneof |
||||
- message_name: DeleteSinkRequest |
||||
field_entity_map: |
||||
sink_name: sink_oneof |
||||
- message_name: ListLogMetricsRequest |
||||
field_entity_map: |
||||
parent: parent_oneof |
||||
- message_name: GetLogMetricRequest |
||||
field_entity_map: |
||||
metric_name: metric_oneof |
||||
- message_name: CreateLogMetricRequest |
||||
field_entity_map: |
||||
parent: parent_oneof |
||||
- message_name: UpdateLogMetricRequest |
||||
field_entity_map: |
||||
metric_name: metric_oneof |
||||
- message_name: DeleteLogMetricRequest |
||||
field_entity_map: |
||||
metric_name: metric_oneof |
||||
- message_name: ListLogsRequest |
||||
field_entity_map: |
||||
parent: parent_oneof |
||||
- message_name: ListExclusionsRequest |
||||
field_entity_map: |
||||
parent: parent_oneof |
||||
- message_name: GetExclusionRequest |
||||
field_entity_map: |
||||
name: exclusion_oneof |
||||
- message_name: CreateExclusionRequest |
||||
field_entity_map: |
||||
parent: parent_oneof |
||||
- message_name: UpdateExclusionRequest |
||||
field_entity_map: |
||||
name: exclusion_oneof |
||||
- message_name: DeleteExclusionRequest |
||||
field_entity_map: |
||||
name: exclusion_oneof |
@ -1,100 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.longrunning |
||||
python: |
||||
package_name: google.longrunning.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/longrunning/autogen |
||||
domain_layer_location: cloud.google.com/go/longrunning |
||||
csharp: |
||||
package_name: Google.LongRunning |
||||
ruby: |
||||
package_name: Google::Longrunning |
||||
php: |
||||
package_name: Google\ApiCore\LongRunning |
||||
nodejs: |
||||
package_name: longrunning |
||||
interfaces: |
||||
- name: google.longrunning.Operations |
||||
required_constructor_params: |
||||
- service_address |
||||
- scopes |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 |
||||
initial_rpc_timeout_millis: 90000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 90000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: GetOperation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: ListOperations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- filter |
||||
required_fields: |
||||
- name |
||||
- filter |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: operations |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: CancelOperation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: DeleteOperation |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: WaitOperation |
||||
surface_treatments: |
||||
- include_languages: |
||||
- go |
||||
- java |
||||
- csharp |
||||
- ruby |
||||
- nodejs |
||||
- python |
||||
- php |
||||
visibility: DISABLED |
File diff suppressed because it is too large
Load Diff
@ -1,566 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.dlp.v2 |
||||
python: |
||||
package_name: google.cloud.dlp_v2.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/dlp/apiv2 |
||||
release_level: GA |
||||
csharp: |
||||
package_name: Google.Cloud.Dlp.V2 |
||||
ruby: |
||||
package_name: Google::Cloud::Dlp::V2 |
||||
php: |
||||
package_name: Google\Cloud\Dlp\V2 |
||||
nodejs: |
||||
package_name: dlp.v2 |
||||
domain_layer_location: google-cloud |
||||
collection_oneofs: |
||||
- oneof_name: deidentify_template_oneof |
||||
collection_names: |
||||
- organization_deidentify_template |
||||
- project_deidentify_template |
||||
- oneof_name: inspect_template_oneof |
||||
collection_names: |
||||
- organization_inspect_template |
||||
- project_inspect_template |
||||
- oneof_name: stored_info_type_oneof |
||||
collection_names: |
||||
- organization_stored_info_type |
||||
- project_stored_info_type |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
- name: google.privacy.dlp.v2.DlpService |
||||
# 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: organizations/{organization} |
||||
entity_name: organization |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.OrganizationName |
||||
- name_pattern: organizations/{organization}/deidentifyTemplates/{deidentify_template} |
||||
entity_name: organization_deidentify_template |
||||
- name_pattern: projects/{project}/deidentifyTemplates/{deidentify_template} |
||||
entity_name: project_deidentify_template |
||||
- name_pattern: organizations/{organization}/inspectTemplates/{inspect_template} |
||||
entity_name: organization_inspect_template |
||||
- name_pattern: projects/{project}/inspectTemplates/{inspect_template} |
||||
entity_name: project_inspect_template |
||||
- name_pattern: projects/{project}/jobTriggers/{job_trigger} |
||||
entity_name: project_job_trigger |
||||
- name_pattern: projects/{project} |
||||
entity_name: project |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/dlpJobs/{dlp_job} |
||||
entity_name: dlp_job |
||||
- name_pattern: organizations/{organization}/storedInfoTypes/{stored_info_type} |
||||
entity_name: organization_stored_info_type |
||||
- name_pattern: projects/{project}/storedInfoTypes/{stored_info_type} |
||||
entity_name: project_stored_info_type |
||||
# 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. |
||||
# |
||||
# 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: InspectContent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 300000 |
||||
- name: RedactImage |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 300000 |
||||
- name: DeidentifyContent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 300000 |
||||
- name: ReidentifyContent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 300000 |
||||
- name: ListInfoTypes |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 300000 |
||||
- name: CreateInspectTemplate |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 300000 |
||||
- name: UpdateInspectTemplate |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: inspect_template_oneof |
||||
timeout_millis: 300000 |
||||
- name: GetInspectTemplate |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: inspect_template_oneof |
||||
timeout_millis: 300000 |
||||
- name: ListInspectTemplates |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: inspect_templates |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 300000 |
||||
- name: DeleteInspectTemplate |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: inspect_template_oneof |
||||
timeout_millis: 300000 |
||||
- name: CreateDeidentifyTemplate |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 300000 |
||||
- name: UpdateDeidentifyTemplate |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: deidentify_template_oneof |
||||
timeout_millis: 300000 |
||||
- name: GetDeidentifyTemplate |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: deidentify_template_oneof |
||||
timeout_millis: 300000 |
||||
- name: ListDeidentifyTemplates |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: deidentify_templates |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 300000 |
||||
- name: DeleteDeidentifyTemplate |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: deidentify_template_oneof |
||||
timeout_millis: 300000 |
||||
- name: CreateDlpJob |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 300000 |
||||
- name: ListDlpJobs |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: jobs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 300000 |
||||
- name: GetDlpJob |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dlp_job |
||||
timeout_millis: 300000 |
||||
- name: DeleteDlpJob |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dlp_job |
||||
timeout_millis: 300000 |
||||
- name: CancelDlpJob |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dlp_job |
||||
timeout_millis: 300000 |
||||
- name: FinishDlpJob |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: dlp_job |
||||
timeout_millis: 300000 |
||||
- name: HybridInspectDlpJob |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 300000 |
||||
- name: ListJobTriggers |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: job_triggers |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 300000 |
||||
- name: GetJobTrigger |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: project_job_trigger |
||||
timeout_millis: 300000 |
||||
- name: DeleteJobTrigger |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 300000 |
||||
- name: ActivateJobTrigger |
||||
surface_treatments: |
||||
- include_languages: |
||||
- go |
||||
- java |
||||
- csharp |
||||
- ruby |
||||
- nodejs |
||||
- python |
||||
- php |
||||
visibility: DISABLED |
||||
- name: HybridInspectJobTrigger |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 300000 |
||||
- name: UpdateJobTrigger |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: project_job_trigger |
||||
timeout_millis: 300000 |
||||
- name: CreateJobTrigger |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 300000 |
||||
|
||||
- name: CreateStoredInfoType |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 300000 |
||||
- name: UpdateStoredInfoType |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: stored_info_type_oneof |
||||
timeout_millis: 300000 |
||||
- name: GetStoredInfoType |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: stored_info_type_oneof |
||||
timeout_millis: 300000 |
||||
- name: ListStoredInfoTypes |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: stored_info_types |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: organization |
||||
timeout_millis: 300000 |
||||
- name: DeleteStoredInfoType |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: stored_info_type_oneof |
||||
timeout_millis: 300000 |
||||
|
||||
resource_name_generation: |
||||
- message_name: InspectContentRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: RedactImageRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: DeidentifyContentRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: ReidentifyContentRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: CreateInspectTemplateRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: UpdateInspectTemplateRequest |
||||
field_entity_map: |
||||
name: inspect_template_oneof |
||||
- message_name: GetInspectTemplateRequest |
||||
field_entity_map: |
||||
name: inspect_template_oneof |
||||
- message_name: ListInspectTemplatesRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: DeleteInspectTemplateRequest |
||||
field_entity_map: |
||||
name: inspect_template_oneof |
||||
- message_name: CreateDeidentifyTemplateRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: UpdateDeidentifyTemplateRequest |
||||
field_entity_map: |
||||
name: deidentify_template_oneof |
||||
- message_name: GetDeidentifyTemplateRequest |
||||
field_entity_map: |
||||
name: deidentify_template_oneof |
||||
- message_name: ListDeidentifyTemplatesRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: DeleteDeidentifyTemplateRequest |
||||
field_entity_map: |
||||
name: deidentify_template_oneof |
||||
- message_name: CreateJobTriggerRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: UpdateJobTriggerRequest |
||||
field_entity_map: |
||||
name: project_job_trigger |
||||
- message_name: GetJobTriggerRequest |
||||
field_entity_map: |
||||
name: project_job_trigger |
||||
- message_name: ListJobTriggersRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: DeleteJobTriggerRequest |
||||
field_entity_map: |
||||
name: project_job_trigger |
||||
- message_name: CreateDlpJobRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: ListDlpJobsRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: GetDlpJobRequest |
||||
field_entity_map: |
||||
name: dlp_job |
||||
- message_name: DeleteDlpJobRequest |
||||
field_entity_map: |
||||
name: dlp_job |
||||
- message_name: CancelDlpJobRequest |
||||
field_entity_map: |
||||
name: dlp_job |
||||
- message_name: FinishDlpJobRequest |
||||
field_entity_map: |
||||
name: dlp_job |
||||
- message_name: CreateStoredInfoTypeRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: UpdateStoredInfoTypeRequest |
||||
field_entity_map: |
||||
name: stored_info_type_oneof |
||||
- message_name: GetStoredInfoTypeRequest |
||||
field_entity_map: |
||||
name: stored_info_type_oneof |
||||
- message_name: ListStoredInfoTypesRequest |
||||
field_entity_map: |
||||
parent: organization |
||||
- message_name: DeleteStoredInfoTypeRequest |
||||
field_entity_map: |
||||
name: stored_info_type_oneof |
@ -1,706 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.pubsub.v1 |
||||
interface_names: |
||||
google.pubsub.v1.Publisher: TopicAdmin |
||||
google.pubsub.v1.Subscriber: SubscriptionAdmin |
||||
release_level: GA |
||||
python: |
||||
package_name: google.cloud.pubsub_v1.gapic |
||||
release_level: GA |
||||
go: |
||||
package_name: cloud.google.com/go/pubsub/apiv1 |
||||
domain_layer_location: cloud.google.com/go/pubsub |
||||
release_level: GA |
||||
csharp: |
||||
package_name: Google.Cloud.PubSub.V1 |
||||
interface_names: |
||||
google.pubsub.v1.Publisher: PublisherServiceApi |
||||
google.pubsub.v1.Subscriber: SubscriberServiceApi |
||||
release_level: GA |
||||
ruby: |
||||
package_name: Google::Cloud::PubSub::V1 |
||||
release_level: BETA |
||||
php: |
||||
package_name: Google\Cloud\PubSub\V1 |
||||
release_level: GA |
||||
nodejs: |
||||
package_name: pubsub.v1 |
||||
domain_layer_location: google-cloud |
||||
release_level: GA |
||||
collection_oneofs: |
||||
- oneof_name: topic_oneof |
||||
collection_names: |
||||
- topic |
||||
- deleted_topic |
||||
collections: |
||||
- name_pattern: projects/{project} |
||||
entity_name: project |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/snapshots/{snapshot} |
||||
entity_name: snapshot |
||||
language_overrides: |
||||
- language: java |
||||
entity_name: project_snapshot |
||||
- name_pattern: projects/{project}/subscriptions/{subscription} |
||||
entity_name: subscription |
||||
language_overrides: |
||||
- language: java |
||||
entity_name: project_subscription |
||||
- name_pattern: projects/{project}/topics/{topic} |
||||
entity_name: topic |
||||
language_overrides: |
||||
- language: java |
||||
entity_name: project_topic |
||||
- name_pattern: _deleted-topic_ |
||||
entity_name: deleted_topic |
||||
interfaces: |
||||
- name: google.pubsub.v1.Subscriber |
||||
lang_doc: |
||||
java: To retrieve messages from a subscription, see the Subscriber class. |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNKNOWN |
||||
- ABORTED |
||||
- UNAVAILABLE |
||||
- name: non_idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- name: streaming_pull |
||||
retry_codes: |
||||
- DEADLINE_EXCEEDED |
||||
- RESOURCE_EXHAUSTED |
||||
- ABORTED |
||||
- INTERNAL |
||||
- UNAVAILABLE |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 # 60 seconds |
||||
initial_rpc_timeout_millis: 60000 # 60 seconds |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 # 60 seconds |
||||
total_timeout_millis: 600000 # 10 minutes |
||||
- name: messaging |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 # 60 seconds |
||||
initial_rpc_timeout_millis: 25000 # 25 seconds |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 25000 # 25 seconds |
||||
total_timeout_millis: 600000 # 10 minutes |
||||
- name: streaming_messaging |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 # 60 seconds |
||||
initial_rpc_timeout_millis: 600000 # 10 minutes |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 600000 # 10 minutes |
||||
total_timeout_millis: 600000 # 10 minutes |
||||
methods: |
||||
- name: CreateSubscription |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- topic |
||||
- push_config |
||||
- ack_deadline_seconds |
||||
required_fields: |
||||
- name |
||||
- topic |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: subscription |
||||
topic: topic |
||||
timeout_millis: 60000 |
||||
- name: GetSubscription |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- subscription |
||||
required_fields: |
||||
- subscription |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
subscription: subscription |
||||
timeout_millis: 60000 |
||||
- name: UpdateSubscription |
||||
required_fields: |
||||
- subscription |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
sample_code_init_fields: |
||||
- update_mask.paths[0]="ack_deadline_seconds" |
||||
- subscription.ack_deadline_seconds=42 |
||||
- name: ListSubscriptions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project |
||||
required_fields: |
||||
- project |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: subscriptions |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
project: project |
||||
timeout_millis: 60000 |
||||
- name: DeleteSubscription |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- subscription |
||||
required_fields: |
||||
- subscription |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
subscription: subscription |
||||
timeout_millis: 60000 |
||||
- name: GetSnapshot |
||||
surface_treatments: |
||||
- include_languages: |
||||
- go |
||||
- java |
||||
- csharp |
||||
- ruby |
||||
- nodejs |
||||
- python |
||||
- php |
||||
visibility: DISABLED |
||||
- name: ModifyAckDeadline |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- subscription |
||||
- ack_ids |
||||
- ack_deadline_seconds |
||||
required_fields: |
||||
- subscription |
||||
- ack_ids |
||||
- ack_deadline_seconds |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
subscription: subscription |
||||
timeout_millis: 60000 |
||||
surface_treatments: |
||||
- include_languages: |
||||
- java |
||||
visibility: PACKAGE |
||||
- name: Acknowledge |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- subscription |
||||
- ack_ids |
||||
required_fields: |
||||
- subscription |
||||
- ack_ids |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: messaging |
||||
field_name_patterns: |
||||
subscription: subscription |
||||
timeout_millis: 60000 |
||||
surface_treatments: |
||||
- include_languages: |
||||
- java |
||||
visibility: PACKAGE |
||||
- name: Pull |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- subscription |
||||
- return_immediately |
||||
- max_messages |
||||
required_fields: |
||||
- subscription |
||||
- max_messages |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: messaging |
||||
field_name_patterns: |
||||
subscription: subscription |
||||
timeout_millis: 60000 |
||||
surface_treatments: |
||||
- include_languages: |
||||
- java |
||||
visibility: PACKAGE |
||||
- name: StreamingPull |
||||
required_fields: |
||||
- subscription |
||||
- stream_ack_deadline_seconds |
||||
grpc_streaming: |
||||
response: |
||||
resources_field: received_messages |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: streaming_pull |
||||
retry_params_name: streaming_messaging |
||||
field_name_patterns: |
||||
subscription: subscription |
||||
timeout_millis: 900000 |
||||
surface_treatments: |
||||
- include_languages: |
||||
- java |
||||
visibility: PACKAGE |
||||
- name: ModifyPushConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- subscription |
||||
- push_config |
||||
required_fields: |
||||
- subscription |
||||
- push_config |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
subscription: subscription |
||||
timeout_millis: 60000 |
||||
- name: ListSnapshots |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project |
||||
required_fields: |
||||
- project |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: snapshots |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
project: project |
||||
timeout_millis: 60000 |
||||
- name: CreateSnapshot |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- subscription |
||||
required_fields: |
||||
- name |
||||
- subscription |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: snapshot |
||||
subscription: subscription |
||||
timeout_millis: 60000 |
||||
- name: UpdateSnapshot |
||||
required_fields: |
||||
- snapshot |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
sample_code_init_fields: |
||||
- update_mask.paths[0]="expire_time" |
||||
- snapshot.expire_time.seconds=123456 |
||||
- name: DeleteSnapshot |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- snapshot |
||||
required_fields: |
||||
- snapshot |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
snapshot: snapshot |
||||
timeout_millis: 60000 |
||||
- name: Seek |
||||
# Not including flattening until oneof support. |
||||
# https://github.com/googleapis/toolkit/issues/1057 |
||||
required_fields: |
||||
- subscription |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
subscription: subscription |
||||
timeout_millis: 60000 |
||||
- name: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: subscription |
||||
timeout_millis: 60000 |
||||
reroute_to_grpc_interface: google.iam.v1.IAMPolicy |
||||
surface_treatments: |
||||
- include_languages: |
||||
- go |
||||
visibility: DISABLED |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: subscription |
||||
timeout_millis: 60000 |
||||
reroute_to_grpc_interface: google.iam.v1.IAMPolicy |
||||
surface_treatments: |
||||
- include_languages: |
||||
- go |
||||
visibility: DISABLED |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: subscription |
||||
timeout_millis: 60000 |
||||
reroute_to_grpc_interface: google.iam.v1.IAMPolicy |
||||
surface_treatments: |
||||
- include_languages: |
||||
- go |
||||
visibility: DISABLED |
||||
- name: google.pubsub.v1.Publisher |
||||
lang_doc: |
||||
java: To publish messages to a topic, see the Publisher class. |
||||
smoke_test: |
||||
method: ListTopics |
||||
init_fields: |
||||
- project%project=$PROJECT_ID |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNKNOWN |
||||
- ABORTED |
||||
- UNAVAILABLE |
||||
- name: non_idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- name: none |
||||
retry_codes: [] |
||||
- name: publish |
||||
retry_codes: |
||||
- ABORTED |
||||
- CANCELLED |
||||
- INTERNAL |
||||
- RESOURCE_EXHAUSTED |
||||
- UNKNOWN |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 # 60 seconds |
||||
initial_rpc_timeout_millis: 60000 # 60 seconds |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 # 60 seconds |
||||
total_timeout_millis: 600000 # 10 minutes |
||||
- name: messaging |
||||
initial_retry_delay_millis: 100 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 60000 # 60 seconds |
||||
initial_rpc_timeout_millis: 5000 # 5 seconds |
||||
rpc_timeout_multiplier: 1.3 |
||||
max_rpc_timeout_millis: 60000 # 60 seconds |
||||
total_timeout_millis: 60000 # 60 seconds |
||||
methods: |
||||
- name: CreateTopic |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: topic |
||||
timeout_millis: 60000 |
||||
- name: UpdateTopic |
||||
required_fields: |
||||
- topic |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
timeout_millis: 60000 |
||||
- name: Publish |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- topic |
||||
- messages |
||||
required_fields: |
||||
- topic |
||||
- messages |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: publish |
||||
retry_params_name: messaging |
||||
batching: |
||||
thresholds: |
||||
element_count_threshold: 100 |
||||
element_count_limit: 1000 # TO BE REMOVED LATER |
||||
request_byte_threshold: 1048576 # 1 MiB |
||||
request_byte_limit: 10485760 # TO BE REMOVED LATER |
||||
delay_threshold_millis: 10 |
||||
batch_descriptor: |
||||
batched_field: messages |
||||
discriminator_fields: |
||||
- topic |
||||
subresponse_field: message_ids |
||||
field_name_patterns: |
||||
topic: topic |
||||
sample_code_init_fields: |
||||
- messages[0].data |
||||
timeout_millis: 60000 |
||||
surface_treatments: |
||||
- include_languages: |
||||
- java |
||||
visibility: PACKAGE |
||||
- name: GetTopic |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- topic |
||||
required_fields: |
||||
- topic |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
topic: topic |
||||
timeout_millis: 60000 |
||||
- name: ListTopics |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- project |
||||
required_fields: |
||||
- project |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: topics |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
project: project |
||||
timeout_millis: 60000 |
||||
- name: ListTopicSubscriptions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- topic |
||||
required_fields: |
||||
- topic |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: subscriptions |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
topic: topic |
||||
timeout_millis: 60000 |
||||
- name: ListTopicSnapshots |
||||
surface_treatments: |
||||
- include_languages: |
||||
- go |
||||
- java |
||||
- csharp |
||||
- ruby |
||||
- nodejs |
||||
- python |
||||
- php |
||||
visibility: DISABLED |
||||
- name: DeleteTopic |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- topic |
||||
required_fields: |
||||
- topic |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
topic: topic |
||||
timeout_millis: 60000 |
||||
- name: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: topic |
||||
timeout_millis: 60000 |
||||
reroute_to_grpc_interface: google.iam.v1.IAMPolicy |
||||
surface_treatments: |
||||
- include_languages: |
||||
- go |
||||
visibility: DISABLED |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: topic |
||||
timeout_millis: 60000 |
||||
reroute_to_grpc_interface: google.iam.v1.IAMPolicy |
||||
surface_treatments: |
||||
- include_languages: |
||||
- go |
||||
visibility: DISABLED |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: topic |
||||
timeout_millis: 60000 |
||||
reroute_to_grpc_interface: google.iam.v1.IAMPolicy |
||||
surface_treatments: |
||||
- include_languages: |
||||
- go |
||||
visibility: DISABLED |
||||
resource_name_generation: |
||||
- message_name: Topic |
||||
field_entity_map: |
||||
name: topic |
||||
- message_name: GetTopicRequest |
||||
field_entity_map: |
||||
topic: topic |
||||
- message_name: PublishRequest |
||||
field_entity_map: |
||||
topic: topic |
||||
- message_name: ListTopicsRequest |
||||
field_entity_map: |
||||
project: project |
||||
- message_name: ListTopicSubscriptionsRequest |
||||
field_entity_map: |
||||
topic: topic |
||||
- message_name: ListTopicSubscriptionsResponse |
||||
field_entity_map: |
||||
subscriptions: subscription |
||||
- message_name: DeleteTopicRequest |
||||
field_entity_map: |
||||
topic: topic |
||||
- message_name: Subscription |
||||
field_entity_map: |
||||
name: subscription |
||||
topic: topic_oneof |
||||
- message_name: GetSubscriptionRequest |
||||
field_entity_map: |
||||
subscription: subscription |
||||
- message_name: ListSubscriptionsRequest |
||||
field_entity_map: |
||||
project: project |
||||
- message_name: DeleteSubscriptionRequest |
||||
field_entity_map: |
||||
subscription: subscription |
||||
- message_name: ModifyPushConfigRequest |
||||
field_entity_map: |
||||
subscription: subscription |
||||
- message_name: PullRequest |
||||
field_entity_map: |
||||
subscription: subscription |
||||
- message_name: ModifyAckDeadlineRequest |
||||
field_entity_map: |
||||
subscription: subscription |
||||
- message_name: AcknowledgeRequest |
||||
field_entity_map: |
||||
subscription: subscription |
||||
- message_name: StreamingPullRequest |
||||
field_entity_map: |
||||
subscription: subscription |
||||
- message_name: Snapshot |
||||
field_entity_map: |
||||
name: snapshot |
||||
topic: topic |
||||
- message_name: CreateSnapshotRequest |
||||
field_entity_map: |
||||
name: snapshot |
||||
subscription: subscription |
||||
- message_name: ListSnapshotsRequest |
||||
field_entity_map: |
||||
project: project |
||||
- message_name: DeleteSnapshotRequest |
||||
field_entity_map: |
||||
snapshot: snapshot |
||||
- message_name: SeekRequest |
||||
field_entity_map: |
||||
subscription: subscription |
||||
snapshot: snapshot |
@ -1,396 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.spanner.admin.database.v1 |
||||
python: |
||||
package_name: google.cloud.spanner_admin_database_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/spanner/admin/database/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.Spanner.Admin.Database.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Spanner::Admin::Database::V1 |
||||
php: |
||||
package_name: Google\Cloud\Spanner\Admin\Database\V1 |
||||
nodejs: |
||||
package_name: spanner.v1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.spanner.admin.database.v1.DatabaseAdmin |
||||
collections: |
||||
- name_pattern: projects/{project}/instances/{instance} |
||||
entity_name: instance |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Cloud.Spanner.Common.V1.InstanceName |
||||
- name_pattern: projects/{project}/instances/{instance}/backups/{backup} |
||||
entity_name: backup |
||||
- name_pattern: projects/{project}/instances/{instance}/databases/{database} |
||||
entity_name: database |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Cloud.Spanner.Common.V1.DatabaseName |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 1000 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 32000 |
||||
initial_rpc_timeout_millis: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: ListDatabases |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: databases |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: instance |
||||
timeout_millis: 3600000 |
||||
- name: CreateDatabase |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- create_statement |
||||
required_fields: |
||||
- parent |
||||
- create_statement |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: instance |
||||
timeout_millis: 3600000 |
||||
long_running: |
||||
return_type: google.spanner.admin.database.v1.Database |
||||
metadata_type: google.spanner.admin.database.v1.CreateDatabaseMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
- name: GetDatabase |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: database |
||||
timeout_millis: 3600000 |
||||
- name: UpdateDatabaseDdl |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- database |
||||
- statements |
||||
required_fields: |
||||
- database |
||||
- statements |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
database: database |
||||
timeout_millis: 3600000 |
||||
long_running: |
||||
return_type: google.protobuf.Empty |
||||
metadata_type: google.spanner.admin.database.v1.UpdateDatabaseDdlMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
- name: DropDatabase |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- database |
||||
required_fields: |
||||
- database |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
database: database |
||||
timeout_millis: 3600000 |
||||
- name: GetDatabaseDdl |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- database |
||||
required_fields: |
||||
- database |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
database: database |
||||
timeout_millis: 3600000 |
||||
- name: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: database |
||||
timeout_millis: 30000 |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: database |
||||
timeout_millis: 30000 |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: database |
||||
timeout_millis: 30000 |
||||
- name: CreateBackup |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- backup_id |
||||
- backup |
||||
required_fields: |
||||
- parent |
||||
- backup_id |
||||
- backup |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: instance |
||||
long_running: |
||||
return_type: google.spanner.admin.database.v1.Backup |
||||
metadata_type: google.spanner.admin.database.v1.CreateBackupMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 172800000 |
||||
timeout_millis: 3600000 |
||||
- name: GetBackup |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: backup |
||||
timeout_millis: 3600000 |
||||
- name: UpdateBackup |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- backup |
||||
- update_mask |
||||
required_fields: |
||||
- backup |
||||
- update_mask |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
backup.name: backup |
||||
timeout_millis: 3600000 |
||||
- name: DeleteBackup |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: backup |
||||
timeout_millis: 3600000 |
||||
- name: ListBackups |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
- filter |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: backups |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: instance |
||||
timeout_millis: 3600000 |
||||
- name: RestoreDatabase |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- database_id |
||||
required_fields: |
||||
- parent |
||||
- database_id |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: instance |
||||
long_running: |
||||
return_type: google.spanner.admin.database.v1.Database |
||||
metadata_type: google.spanner.admin.database.v1.RestoreDatabaseMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
timeout_millis: 3600000 |
||||
- name: ListDatabaseOperations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
- filter |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: operations |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: instance |
||||
timeout_millis: 3600000 |
||||
- name: ListBackupOperations |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
- filter |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: operations |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: instance |
||||
timeout_millis: 3600000 |
||||
resource_name_generation: |
||||
- message_name: ListDatabasesRequest |
||||
field_entity_map: |
||||
parent: instance |
||||
- message_name: CreateDatabaseRequest |
||||
field_entity_map: |
||||
parent: instance |
||||
- message_name: CreateDatabaseMetadata |
||||
field_entity_map: |
||||
database: database |
||||
- message_name: GetDatabaseRequest |
||||
field_entity_map: |
||||
name: database |
||||
- message_name: UpdateDatabaseDdlRequest |
||||
field_entity_map: |
||||
database: database |
||||
- message_name: UpdateDatabaseDdlMetadata |
||||
field_entity_map: |
||||
database: database |
||||
- message_name: DropDatabaseRequest |
||||
field_entity_map: |
||||
database: database |
||||
- message_name: GetDatabaseDdlRequest |
||||
field_entity_map: |
||||
database: database |
||||
- message_name: Database |
||||
field_entity_map: |
||||
name: database |
||||
- message_name: Backup |
||||
field_entity_map: |
||||
name: backup |
||||
- message_name: CreateBackupRequest |
||||
field_entity_map: |
||||
parent: instance |
||||
- message_name: CreateBackupMetadata |
||||
field_entity_map: |
||||
name: backup |
||||
database: database |
||||
- message_name: UpdateBackupRequest |
||||
- message_name: GetBackupRequest |
||||
field_entity_map: |
||||
name: backup |
||||
- message_name: DeleteBackupRequest |
||||
field_entity_map: |
||||
name: backup |
||||
- message_name: ListBackupsRequest |
||||
field_entity_map: |
||||
parent: instance |
||||
- message_name: ListBackupsResponse |
||||
- message_name: ListDatabaseOperationsRequest |
||||
field_entity_map: |
||||
parent: instance |
||||
- message_name: ListDatabaseOperationsResponse |
||||
- message_name: RestoreDatabaseRequest |
||||
field_entity_map: |
||||
parent: instance |
||||
database_id: database |
||||
- message_name: RestoreDatabaseMetadata |
@ -1,242 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.spanner.admin.instance.v1 |
||||
python: |
||||
package_name: google.cloud.spanner_admin_instance_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/spanner/admin/instance/apiv1 |
||||
csharp: |
||||
package_name: Google.Cloud.Spanner.Admin.Instance.V1 |
||||
ruby: |
||||
package_name: Google::Cloud::Spanner::Admin::Instance::V1 |
||||
php: |
||||
package_name: Google\Cloud\Spanner\Admin\Instance\V1 |
||||
nodejs: |
||||
package_name: spanner.v1 |
||||
domain_layer_location: google-cloud |
||||
interfaces: |
||||
- name: google.spanner.admin.instance.v1.InstanceAdmin |
||||
collections: |
||||
- name_pattern: projects/{project} |
||||
entity_name: project |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Api.Gax.ResourceNames.ProjectName |
||||
- name_pattern: projects/{project}/instanceConfigs/{instance_config} |
||||
entity_name: instance_config |
||||
- name_pattern: projects/{project}/instances/{instance} |
||||
entity_name: instance |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Cloud.Spanner.Common.V1.InstanceName |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- DEADLINE_EXCEEDED |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 1000 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 32000 |
||||
initial_rpc_timeout_millis: 60000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 60000 |
||||
total_timeout_millis: 600000 |
||||
methods: |
||||
- name: ListInstanceConfigs |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: instance_configs |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 3600000 |
||||
- name: GetInstanceConfig |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance_config |
||||
timeout_millis: 3600000 |
||||
- name: ListInstances |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: instances |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 3600000 |
||||
- name: GetInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance |
||||
timeout_millis: 3600000 |
||||
- name: CreateInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- instance_id |
||||
- instance |
||||
required_fields: |
||||
- parent |
||||
- instance_id |
||||
- instance |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 3600000 |
||||
long_running: |
||||
return_type: google.spanner.admin.instance.v1.Instance |
||||
metadata_type: google.spanner.admin.instance.v1.CreateInstanceMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
- name: UpdateInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- instance |
||||
- field_mask |
||||
required_fields: |
||||
- instance |
||||
- field_mask |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
instance.name: instance |
||||
timeout_millis: 3600000 |
||||
long_running: |
||||
return_type: google.spanner.admin.instance.v1.Instance |
||||
metadata_type: google.spanner.admin.instance.v1.UpdateInstanceMetadata |
||||
initial_poll_delay_millis: 20000 |
||||
poll_delay_multiplier: 1.5 |
||||
max_poll_delay_millis: 45000 |
||||
total_poll_timeout_millis: 86400000 |
||||
- name: DeleteInstance |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: instance |
||||
timeout_millis: 3600000 |
||||
- name: SetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- policy |
||||
required_fields: |
||||
- resource |
||||
- policy |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: instance |
||||
timeout_millis: 30000 |
||||
- name: GetIamPolicy |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
required_fields: |
||||
- resource |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: instance |
||||
timeout_millis: 30000 |
||||
- name: TestIamPermissions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- resource |
||||
- permissions |
||||
required_fields: |
||||
- resource |
||||
- permissions |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
resource: instance |
||||
timeout_millis: 30000 |
||||
resource_name_generation: |
||||
- message_name: InstanceConfig |
||||
field_entity_map: |
||||
name: instance_config |
||||
- message_name: Instance |
||||
field_entity_map: |
||||
name: instance |
||||
config: instance_config |
||||
- message_name: ListInstanceConfigsRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: GetInstanceConfigRequest |
||||
field_entity_map: |
||||
name: instance_config |
||||
- message_name: GetInstanceRequest |
||||
field_entity_map: |
||||
name: instance |
||||
- message_name: CreateInstanceRequest |
||||
field_entity_map: |
||||
parent: project |
||||
instance_id: instance |
||||
- message_name: ListInstancesRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: DeleteInstanceRequest |
||||
field_entity_map: |
||||
name: instance |
@ -1,309 +0,0 @@ |
||||
type: com.google.api.codegen.ConfigProto |
||||
config_schema_version: 1.0.0 |
||||
language_settings: |
||||
java: |
||||
package_name: com.google.cloud.spanner.v1 |
||||
release_level: GA |
||||
python: |
||||
package_name: google.cloud.spanner_v1.gapic |
||||
release_level: GA |
||||
go: |
||||
package_name: cloud.google.com/go/spanner/apiv1 |
||||
domain_layer_location: cloud.google.com/go/spanner |
||||
release_level: GA |
||||
csharp: |
||||
package_name: Google.Cloud.Spanner.V1 |
||||
release_level: GA |
||||
ruby: |
||||
package_name: Google::Cloud::Spanner::V1 |
||||
release_level: GA |
||||
php: |
||||
package_name: Google\Cloud\Spanner\V1 |
||||
release_level: GA |
||||
nodejs: |
||||
package_name: spanner.v1 |
||||
domain_layer_location: google-cloud |
||||
release_level: GA |
||||
interfaces: |
||||
- name: google.spanner.v1.Spanner |
||||
collections: |
||||
- name_pattern: projects/{project}/instances/{instance}/databases/{database} |
||||
entity_name: database |
||||
language_overrides: |
||||
- language: csharp |
||||
common_resource_name: Google.Cloud.Spanner.Common.V1.DatabaseName |
||||
- name_pattern: projects/{project}/instances/{instance}/databases/{database}/sessions/{session} |
||||
entity_name: session |
||||
retry_codes_def: |
||||
- name: idempotent |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
- name: non_idempotent |
||||
retry_codes: [] |
||||
- name: long_running |
||||
retry_codes: |
||||
- UNAVAILABLE |
||||
retry_params_def: |
||||
- name: default |
||||
initial_retry_delay_millis: 250 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 32000 |
||||
initial_rpc_timeout_millis: 360000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 360000 |
||||
total_timeout_millis: 3600000 |
||||
- name: streaming |
||||
initial_retry_delay_millis: 250 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 32000 |
||||
initial_rpc_timeout_millis: 360000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 360000 |
||||
total_timeout_millis: 3600000 |
||||
- name: long_running |
||||
initial_retry_delay_millis: 250 |
||||
retry_delay_multiplier: 1.3 |
||||
max_retry_delay_millis: 32000 |
||||
initial_rpc_timeout_millis: 3600000 |
||||
rpc_timeout_multiplier: 1 |
||||
max_rpc_timeout_millis: 3600000 |
||||
total_timeout_millis: 3600000 |
||||
methods: |
||||
- name: CreateSession |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- database |
||||
required_fields: |
||||
- database |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
database: database |
||||
timeout_millis: 30000 |
||||
- name: BatchCreateSessions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- database |
||||
- session_count |
||||
required_fields: |
||||
- database |
||||
- session_count |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
database: database |
||||
timeout_millis: 60000 |
||||
- name: GetSession |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: session |
||||
timeout_millis: 30000 |
||||
- name: ListSessions |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- database |
||||
required_fields: |
||||
- database |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: sessions |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
database: database |
||||
timeout_millis: 3600000 |
||||
- name: DeleteSession |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: session |
||||
timeout_millis: 30000 |
||||
- name: ExecuteSql |
||||
required_fields: |
||||
- session |
||||
- sql |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
session: session |
||||
timeout_millis: 30000 |
||||
- name: ExecuteStreamingSql |
||||
required_fields: |
||||
- session |
||||
- sql |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: streaming |
||||
field_name_patterns: |
||||
session: session |
||||
timeout_millis: 3600000 |
||||
- name: ExecuteBatchDml |
||||
required_fields: |
||||
- session |
||||
- transaction |
||||
- statements |
||||
- seqno |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
session: session |
||||
timeout_millis: 30000 |
||||
- name: Read |
||||
required_fields: |
||||
- session |
||||
- table |
||||
- columns |
||||
- key_set |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
session: session |
||||
timeout_millis: 30000 |
||||
- name: StreamingRead |
||||
required_fields: |
||||
- session |
||||
- table |
||||
- columns |
||||
- key_set |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: streaming |
||||
field_name_patterns: |
||||
session: session |
||||
timeout_millis: 3600000 |
||||
- name: BeginTransaction |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- session |
||||
- options |
||||
required_fields: |
||||
- session |
||||
- options |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
session: session |
||||
timeout_millis: 30000 |
||||
- name: Commit |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- session |
||||
- transaction_id |
||||
- mutations |
||||
- parameters: |
||||
- session |
||||
- single_use_transaction |
||||
- mutations |
||||
required_fields: |
||||
- session |
||||
- mutations |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: long_running |
||||
retry_params_name: long_running |
||||
field_name_patterns: |
||||
session: session |
||||
timeout_millis: 3600000 |
||||
- name: Rollback |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- session |
||||
- transaction_id |
||||
required_fields: |
||||
- session |
||||
- transaction_id |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
session: session |
||||
timeout_millis: 30000 |
||||
- name: PartitionQuery |
||||
required_fields: |
||||
- session |
||||
- sql |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
session: session |
||||
timeout_millis: 30000 |
||||
- name: PartitionRead |
||||
required_fields: |
||||
- session |
||||
- table |
||||
- key_set |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
session: session |
||||
timeout_millis: 30000 |
||||
resource_name_generation: |
||||
- message_name: CreateSessionRequest |
||||
field_entity_map: |
||||
database: database |
||||
- message_name: BatchCreateSessionsRequest |
||||
field_entity_map: |
||||
database: database |
||||
- message_name: Session |
||||
field_entity_map: |
||||
name: session |
||||
- message_name: GetSessionRequest |
||||
field_entity_map: |
||||
name: session |
||||
- message_name: DeleteSessionRequest |
||||
field_entity_map: |
||||
name: session |
||||
- message_name: ExecuteSqlRequest |
||||
field_entity_map: |
||||
session: session |
||||
- message_name: ExecuteBatchDmlRequest |
||||
field_entity_map: |
||||
session: session |
||||
- message_name: ReadRequest |
||||
field_entity_map: |
||||
session: session |
||||
- message_name: BeginTransactionRequest |
||||
field_entity_map: |
||||
session: session |
||||
- message_name: CommitRequest |
||||
field_entity_map: |
||||
session: session |
||||
- message_name: RollbackRequest |
||||
field_entity_map: |
||||
session: session |
||||
- message_name: PartitionReadRequest |
||||
field_entity_map: |
||||
session: session |
||||
- message_name: PartitionQueryRequest |
||||
field_entity_map: |
||||
session: session |
@ -1,384 +0,0 @@ |
||||
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: io.grafeas.v1 |
||||
python: |
||||
package_name: grafeas.grafeas_v1.gapic |
||||
go: |
||||
package_name: cloud.google.com/go/grafeas/apiv1 |
||||
csharp: |
||||
package_name: Grafeas.V1 |
||||
ruby: |
||||
package_name: Grafeas::V1 |
||||
php: |
||||
package_name: Grafeas\V1 |
||||
nodejs: |
||||
package_name: grafeas.v1 |
||||
domain_layer_location: google-cloud |
||||
# 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}/notes/{note} |
||||
entity_name: note |
||||
- name_pattern: projects/{project}/occurrences/{occurrence} |
||||
entity_name: occurrence |
||||
# A list of API interface configurations. |
||||
interfaces: |
||||
# The fully qualified name of the API interface. |
||||
- name: grafeas.v1.Grafeas |
||||
# 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. |
||||
# |
||||
# 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: GetOccurrence |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: occurrence |
||||
timeout_millis: 30000 |
||||
- name: ListOccurrences |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: occurrences |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 30000 |
||||
- name: DeleteOccurrence |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: occurrence |
||||
timeout_millis: 30000 |
||||
- name: CreateOccurrence |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- occurrence |
||||
required_fields: |
||||
- parent |
||||
- occurrence |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 30000 |
||||
- name: BatchCreateOccurrences |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- occurrences |
||||
required_fields: |
||||
- parent |
||||
- occurrences |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 30000 |
||||
- name: UpdateOccurrence |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- occurrence |
||||
- update_mask |
||||
required_fields: |
||||
- name |
||||
- occurrence |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: occurrence |
||||
timeout_millis: 30000 |
||||
- name: GetOccurrenceNote |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: occurrence |
||||
timeout_millis: 30000 |
||||
- name: GetNote |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: note |
||||
timeout_millis: 30000 |
||||
- name: ListNotes |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- filter |
||||
required_fields: |
||||
- parent |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: notes |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 30000 |
||||
- name: DeleteNote |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: note |
||||
timeout_millis: 30000 |
||||
- name: CreateNote |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- note_id |
||||
- note |
||||
required_fields: |
||||
- parent |
||||
- note_id |
||||
- note |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 30000 |
||||
- name: BatchCreateNotes |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- parent |
||||
- notes |
||||
required_fields: |
||||
- parent |
||||
- notes |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
parent: project |
||||
timeout_millis: 30000 |
||||
- name: UpdateNote |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- note |
||||
- update_mask |
||||
required_fields: |
||||
- name |
||||
- note |
||||
resource_name_treatment: STATIC_TYPES |
||||
retry_codes_name: non_idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: note |
||||
timeout_millis: 30000 |
||||
- name: ListNoteOccurrences |
||||
flattening: |
||||
groups: |
||||
- parameters: |
||||
- name |
||||
- filter |
||||
required_fields: |
||||
- name |
||||
resource_name_treatment: STATIC_TYPES |
||||
page_streaming: |
||||
request: |
||||
page_size_field: page_size |
||||
token_field: page_token |
||||
response: |
||||
token_field: next_page_token |
||||
resources_field: occurrences |
||||
retry_codes_name: idempotent |
||||
retry_params_name: default |
||||
field_name_patterns: |
||||
name: note |
||||
timeout_millis: 30000 |
||||
resource_name_generation: |
||||
- message_name: grafeas.v1.Occurrence |
||||
field_entity_map: |
||||
name: occurrence |
||||
- message_name: grafeas.v1.GetOccurrenceRequest |
||||
field_entity_map: |
||||
name: occurrence |
||||
- message_name: grafeas.v1.ListOccurrencesRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: grafeas.v1.DeleteOccurrenceRequest |
||||
field_entity_map: |
||||
name: occurrence |
||||
- message_name: grafeas.v1.CreateOccurrenceRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: grafeas.v1.UpdateOccurrenceRequest |
||||
field_entity_map: |
||||
name: occurrence |
||||
- message_name: grafeas.v1.BatchCreateOccurrencesRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: grafeas.v1.Note |
||||
field_entity_map: |
||||
name: note |
||||
- message_name: grafeas.v1.GetNoteRequest |
||||
field_entity_map: |
||||
name: note |
||||
- message_name: grafeas.v1.ListNotesRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: grafeas.v1.DeleteNoteRequest |
||||
field_entity_map: |
||||
name: note |
||||
- message_name: grafeas.v1.CreateNoteRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: grafeas.v1.UpdateNoteRequest |
||||
field_entity_map: |
||||
name: note |
||||
- message_name: grafeas.v1.BatchCreateNotesRequest |
||||
field_entity_map: |
||||
parent: project |
||||
- message_name: grafeas.v1.GetOccurrenceNoteRequest |
||||
field_entity_map: |
||||
name: occurrence |
||||
- message_name: grafeas.v1.ListNoteOccurrencesRequest |
||||
field_entity_map: |
||||
name: note |
Loading…
Reference in new issue