datamigration_v1.yaml 4.4 KB

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