aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/googleapis/google/datastore/v1/datastore_gapic.yaml
blob: 245f03f466e9353e5be4c92531111407e9d504bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
type: com.google.api.codegen.ConfigProto
language_settings:
  java:
    package_name: com.google.cloud.datastore.spi.v1
  python:
    package_name: google.cloud.gapic.datastore.v1
  go:
    package_name: cloud.google.com/go/datastore/apiv1
  csharp:
    package_name: Google.Cloud.Datastore.V1
  ruby:
    package_name: Google::Cloud::Datastore::V1
  php:
    package_name: Google\Cloud\Datastore\V1
  nodejs:
    package_name: datastore.v1
    domain_layer_location: google-cloud
license_header:
  copyright_file: copyright-google.txt
  license_file: license-header-apache-2.0.txt
interfaces:
- name: google.datastore.v1.Datastore
  collections: []
  retry_codes_def:
  - name: idempotent
    retry_codes:
    - UNAVAILABLE
    - DEADLINE_EXCEEDED
  - name: non_idempotent
    retry_codes:
    - UNAVAILABLE      
  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: Lookup
    flattening:
      groups:
      - parameters:
        - project_id
        - read_options
        - keys
    required_fields:
    - project_id
    - keys
    request_object_method: true
    retry_codes_name: idempotent
    retry_params_name: default
    timeout_millis: 60000
  - name: RunQuery
    # TODO: Add flattening with oneof when oneofs implemented
    required_fields:
    - project_id
    - partition_id
    request_object_method: true
    retry_codes_name: idempotent
    retry_params_name: default
    timeout_millis: 60000
  - name: BeginTransaction
    flattening:
      groups:
      - parameters:
        - project_id
    required_fields:
    - project_id
    request_object_method: false
    retry_codes_name: non_idempotent
    retry_params_name: default
    timeout_millis: 60000
  - name: Commit
    flattening:
      groups:
      - parameters:
        - project_id
        - mode
        - transaction
        - mutations
      - parameters:
        - project_id
        - mode
        - mutations
    required_fields:
    - project_id
    - mode
    - mutations
    request_object_method: true
    retry_codes_name: non_idempotent
    retry_params_name: default
    timeout_millis: 60000
  - name: Rollback
    flattening:
      groups:
      - parameters:
        - project_id
        - transaction
    required_fields:
    - project_id
    - transaction
    request_object_method: true
    retry_codes_name: non_idempotent
    retry_params_name: default
    timeout_millis: 60000
  - name: AllocateIds
    flattening:
      groups:
      - parameters:
        - project_id
        - keys
    required_fields:
    - project_id
    - keys
    request_object_method: true
    retry_codes_name: non_idempotent
    retry_params_name: default
    timeout_millis: 60000