Synchronize new proto changes.
This commit is contained in:
parent
434ae660ba
commit
87e03f3085
|
|
@ -4,11 +4,11 @@ name: firestore.googleapis.com
|
|||
title: Google Cloud Firestore API
|
||||
|
||||
apis:
|
||||
- name: google.firestore.admin.v1beta1.FirestoreAdmin
|
||||
# - name: google.firestore.admin.v1beta1.FirestoreAdmin
|
||||
- name: google.firestore.v1beta1.Firestore
|
||||
|
||||
types:
|
||||
- name: google.firestore.admin.v1beta1.IndexOperationMetadata
|
||||
# types:
|
||||
# - name: google.firestore.admin.v1beta1.IndexOperationMetadata
|
||||
|
||||
authentication:
|
||||
rules:
|
||||
|
|
|
|||
|
|
@ -16,95 +16,94 @@ language_settings:
|
|||
package_name: Google\Cloud\Firestore\V1beta1
|
||||
nodejs:
|
||||
package_name: firestore.v1beta1
|
||||
domain_layer_location: google-cloud
|
||||
license_header:
|
||||
copyright_file: copyright-google.txt
|
||||
license_file: license-header-apache-2.0.txt
|
||||
interfaces:
|
||||
- name: google.firestore.admin.v1beta1.FirestoreAdmin
|
||||
collections:
|
||||
- name_pattern: projects/{project}/databases/{database}
|
||||
entity_name: database
|
||||
- name_pattern: projects/{project}/databases/{database}/indexes/{index}
|
||||
entity_name: index
|
||||
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: CreateIndex
|
||||
flattening:
|
||||
groups:
|
||||
- parameters:
|
||||
- parent
|
||||
- index
|
||||
required_fields:
|
||||
- parent
|
||||
- index
|
||||
request_object_method: true
|
||||
retry_codes_name: non_idempotent
|
||||
retry_params_name: default
|
||||
field_name_patterns:
|
||||
parent: database
|
||||
timeout_millis: 60000
|
||||
- name: ListIndexes
|
||||
flattening:
|
||||
groups:
|
||||
- parameters:
|
||||
- parent
|
||||
required_fields:
|
||||
- parent
|
||||
request_object_method: true
|
||||
page_streaming:
|
||||
request:
|
||||
page_size_field: page_size
|
||||
token_field: page_token
|
||||
response:
|
||||
token_field: next_page_token
|
||||
resources_field: indexes
|
||||
retry_codes_name: idempotent
|
||||
retry_params_name: default
|
||||
field_name_patterns:
|
||||
parent: database
|
||||
timeout_millis: 60000
|
||||
- name: GetIndex
|
||||
flattening:
|
||||
groups:
|
||||
- parameters:
|
||||
- name
|
||||
required_fields:
|
||||
- name
|
||||
request_object_method: false
|
||||
retry_codes_name: idempotent
|
||||
retry_params_name: default
|
||||
field_name_patterns:
|
||||
name: index
|
||||
timeout_millis: 60000
|
||||
- name: DeleteIndex
|
||||
flattening:
|
||||
groups:
|
||||
- parameters:
|
||||
- name
|
||||
required_fields:
|
||||
- name
|
||||
request_object_method: false
|
||||
retry_codes_name: idempotent
|
||||
retry_params_name: default
|
||||
field_name_patterns:
|
||||
name: index
|
||||
timeout_millis: 60000
|
||||
# - name: google.firestore.admin.v1beta1.FirestoreAdmin
|
||||
# collections:
|
||||
# - name_pattern: projects/{project}/databases/{database}
|
||||
# entity_name: database
|
||||
# - name_pattern: projects/{project}/databases/{database}/indexes/{index}
|
||||
# entity_name: index
|
||||
# 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: CreateIndex
|
||||
# flattening:
|
||||
# groups:
|
||||
# - parameters:
|
||||
# - parent
|
||||
# - index
|
||||
# required_fields:
|
||||
# - parent
|
||||
# - index
|
||||
# request_object_method: true
|
||||
# retry_codes_name: non_idempotent
|
||||
# retry_params_name: default
|
||||
# field_name_patterns:
|
||||
# parent: database
|
||||
# timeout_millis: 60000
|
||||
# - name: ListIndexes
|
||||
# flattening:
|
||||
# groups:
|
||||
# - parameters:
|
||||
# - parent
|
||||
# required_fields:
|
||||
# - parent
|
||||
# request_object_method: true
|
||||
# page_streaming:
|
||||
# request:
|
||||
# page_size_field: page_size
|
||||
# token_field: page_token
|
||||
# response:
|
||||
# token_field: next_page_token
|
||||
# resources_field: indexes
|
||||
# retry_codes_name: idempotent
|
||||
# retry_params_name: default
|
||||
# field_name_patterns:
|
||||
# parent: database
|
||||
# timeout_millis: 60000
|
||||
# - name: GetIndex
|
||||
# flattening:
|
||||
# groups:
|
||||
# - parameters:
|
||||
# - name
|
||||
# required_fields:
|
||||
# - name
|
||||
# request_object_method: false
|
||||
# retry_codes_name: idempotent
|
||||
# retry_params_name: default
|
||||
# field_name_patterns:
|
||||
# name: index
|
||||
# timeout_millis: 60000
|
||||
# - name: DeleteIndex
|
||||
# flattening:
|
||||
# groups:
|
||||
# - parameters:
|
||||
# - name
|
||||
# required_fields:
|
||||
# - name
|
||||
# request_object_method: false
|
||||
# retry_codes_name: idempotent
|
||||
# retry_params_name: default
|
||||
# field_name_patterns:
|
||||
# name: index
|
||||
# timeout_millis: 60000
|
||||
- name: google.firestore.v1beta1.Firestore
|
||||
collections:
|
||||
- name_pattern: projects/{project}/databases/{database}
|
||||
|
|
@ -140,15 +139,6 @@ interfaces:
|
|||
rpc_timeout_multiplier: 1
|
||||
max_rpc_timeout_millis: 300000
|
||||
total_timeout_millis: 600000
|
||||
- name: listen
|
||||
initial_retry_delay_millis: 100
|
||||
retry_delay_multiplier: 1.3
|
||||
max_retry_delay_millis: 60000
|
||||
# One day
|
||||
initial_rpc_timeout_millis: 86400000
|
||||
rpc_timeout_multiplier: 1
|
||||
max_rpc_timeout_millis: 86400000
|
||||
total_timeout_millis: 86400000
|
||||
methods:
|
||||
- name: GetDocument
|
||||
required_fields:
|
||||
|
|
@ -295,11 +285,11 @@ interfaces:
|
|||
required_fields:
|
||||
- database
|
||||
retry_codes_name: idempotent
|
||||
retry_params_name: listen
|
||||
retry_params_name: streaming
|
||||
field_name_patterns:
|
||||
database: database_root
|
||||
# One day
|
||||
timeout_millis: 86400000
|
||||
# Five minutes
|
||||
timeout_millis: 300000
|
||||
- name: ListCollectionIds
|
||||
flattening:
|
||||
groups:
|
||||
|
|
|
|||
Loading…
Reference in New Issue