xref: /aosp_15_r20/external/googleapis/google/cloud/clouddms/v1/datamigration_v1.yaml (revision d5c09012810ac0c9f33fe448fb6da8260d444cc9)
1type: google.api.Service
2config_version: 3
3name: datamigration.googleapis.com
4title: Database Migration API
5
6apis:
7- name: google.cloud.clouddms.v1.DataMigrationService
8- name: google.cloud.location.Locations
9- name: google.iam.v1.IAMPolicy
10- name: google.longrunning.Operations
11
12types:
13- name: google.cloud.clouddms.v1.ConnectionProfile
14- name: google.cloud.clouddms.v1.ConversionWorkspace
15- name: google.cloud.clouddms.v1.MappingRule
16- name: google.cloud.clouddms.v1.MigrationJob
17- name: google.cloud.clouddms.v1.MigrationJobVerificationError
18- name: google.cloud.clouddms.v1.OperationMetadata
19- name: google.cloud.clouddms.v1.PrivateConnection
20
21documentation:
22  summary: Manage Cloud Database Migration Service resources on Google Cloud Platform.
23  overview: |-
24    Database Migration Service makes it easier for you to migrate your database
25    to Google Cloud SQL.
26  rules:
27  - selector: google.cloud.location.Locations.GetLocation
28    description: Gets information about a location.
29
30  - selector: google.cloud.location.Locations.ListLocations
31    description: Lists information about the supported locations for this service.
32
33  - selector: google.iam.v1.IAMPolicy.GetIamPolicy
34    description: |-
35      Gets the access control policy for a resource. Returns an empty policy
36      if the resource exists and does not have a policy set.
37
38  - selector: google.iam.v1.IAMPolicy.SetIamPolicy
39    description: |-
40      Sets the access control policy on the specified resource. Replaces
41      any existing policy.
42
43      Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
44      errors.
45
46  - selector: google.iam.v1.IAMPolicy.TestIamPermissions
47    description: |-
48      Returns permissions that a caller has on the specified resource. If the
49      resource does not exist, this will return an empty set of
50      permissions, not a `NOT_FOUND` error.
51
52      Note: This operation is designed to be used for building
53      permission-aware UIs and command-line tools, not for authorization
54      checking. This operation may "fail open" without warning.
55
56backend:
57  rules:
58  - selector: 'google.cloud.clouddms.v1.DataMigrationService.*'
59    deadline: 60.0
60  - selector: google.cloud.location.Locations.GetLocation
61    deadline: 60.0
62  - selector: google.cloud.location.Locations.ListLocations
63    deadline: 60.0
64  - selector: 'google.iam.v1.IAMPolicy.*'
65    deadline: 60.0
66  - selector: 'google.longrunning.Operations.*'
67    deadline: 60.0
68  - selector: google.longrunning.Operations.GetOperation
69    deadline: 5.0
70
71http:
72  rules:
73  - selector: google.cloud.location.Locations.GetLocation
74    get: '/v1/{name=projects/*/locations/*}'
75  - selector: google.cloud.location.Locations.ListLocations
76    get: '/v1/{name=projects/*}/locations'
77  - selector: google.iam.v1.IAMPolicy.GetIamPolicy
78    get: '/v1/{resource=projects/*/locations/*/connectionProfiles/*}:getIamPolicy'
79    additional_bindings:
80    - get: '/v1/{resource=projects/*/locations/*/migrationJobs/*}:getIamPolicy'
81    - get: '/v1/{resource=projects/*/locations/*/conversionWorkspaces/*}:getIamPolicy'
82    - get: '/v1/{resource=projects/*/locations/*/privateConnections/*}:getIamPolicy'
83  - selector: google.iam.v1.IAMPolicy.SetIamPolicy
84    post: '/v1/{resource=projects/*/locations/*/connectionProfiles/*}:setIamPolicy'
85    body: '*'
86    additional_bindings:
87    - post: '/v1/{resource=projects/*/locations/*/migrationJobs/*}:setIamPolicy'
88      body: '*'
89    - post: '/v1/{resource=projects/*/locations/*/conversionWorkspaces/*}:setIamPolicy'
90      body: '*'
91    - post: '/v1/{resource=projects/*/locations/*/privateConnections/*}:setIamPolicy'
92      body: '*'
93  - selector: google.iam.v1.IAMPolicy.TestIamPermissions
94    post: '/v1/{resource=projects/*/locations/*/migrationJobs/*}:testIamPermissions'
95    body: '*'
96    additional_bindings:
97    - post: '/v1/{resource=projects/*/locations/*/connectionProfiles/*}:testIamPermissions'
98      body: '*'
99    - post: '/v1/{resource=projects/*/locations/*/conversionWorkspaces/*}:testIamPermissions'
100      body: '*'
101    - post: '/v1/{resource=projects/*/locations/*/privateConnections/*}:testIamPermissions'
102      body: '*'
103  - selector: google.longrunning.Operations.CancelOperation
104    post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
105    body: '*'
106  - selector: google.longrunning.Operations.DeleteOperation
107    delete: '/v1/{name=projects/*/locations/*/operations/*}'
108  - selector: google.longrunning.Operations.GetOperation
109    get: '/v1/{name=projects/*/locations/*/operations/*}'
110  - selector: google.longrunning.Operations.ListOperations
111    get: '/v1/{name=projects/*/locations/*}/operations'
112
113authentication:
114  rules:
115  - selector: 'google.cloud.clouddms.v1.DataMigrationService.*'
116    oauth:
117      canonical_scopes: |-
118        https://www.googleapis.com/auth/cloud-platform
119  - selector: google.cloud.location.Locations.GetLocation
120    oauth:
121      canonical_scopes: |-
122        https://www.googleapis.com/auth/cloud-platform
123  - selector: google.cloud.location.Locations.ListLocations
124    oauth:
125      canonical_scopes: |-
126        https://www.googleapis.com/auth/cloud-platform
127  - selector: 'google.iam.v1.IAMPolicy.*'
128    oauth:
129      canonical_scopes: |-
130        https://www.googleapis.com/auth/cloud-platform
131  - selector: 'google.longrunning.Operations.*'
132    oauth:
133      canonical_scopes: |-
134        https://www.googleapis.com/auth/cloud-platform
135