vmmigration_v1.yaml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. type: google.api.Service
  2. config_version: 3
  3. name: vmmigration.googleapis.com
  4. title: VM Migration API
  5. apis:
  6. - name: google.cloud.vmmigration.v1.VmMigration
  7. types:
  8. - name: google.cloud.vmmigration.v1.AddGroupMigrationResponse
  9. - name: google.cloud.vmmigration.v1.CancelCloneJobResponse
  10. - name: google.cloud.vmmigration.v1.CancelCutoverJobResponse
  11. - name: google.cloud.vmmigration.v1.FetchInventoryResponse
  12. - name: google.cloud.vmmigration.v1.FinalizeMigrationResponse
  13. - name: google.cloud.vmmigration.v1.MigrationError
  14. - name: google.cloud.vmmigration.v1.OperationMetadata
  15. - name: google.cloud.vmmigration.v1.PauseMigrationResponse
  16. - name: google.cloud.vmmigration.v1.RemoveGroupMigrationResponse
  17. - name: google.cloud.vmmigration.v1.ResumeMigrationResponse
  18. - name: google.cloud.vmmigration.v1.StartMigrationResponse
  19. - name: google.cloud.vmmigration.v1.UpgradeApplianceResponse
  20. documentation:
  21. summary: |-
  22. Use the Migrate to Virtual Machines API to programmatically migrate
  23. workloads.
  24. rules:
  25. - selector: google.cloud.location.Locations.GetLocation
  26. description: Gets information about a location.
  27. - selector: google.cloud.location.Locations.ListLocations
  28. description: Lists information about the supported locations for this service.
  29. - selector: google.iam.v1.IAMPolicy.GetIamPolicy
  30. description: |-
  31. Gets the access control policy for a resource. Returns an empty policy
  32. if the resource exists and does not have a policy set.
  33. - selector: google.iam.v1.IAMPolicy.SetIamPolicy
  34. description: |-
  35. Sets the access control policy on the specified resource. Replaces
  36. any existing policy.
  37. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
  38. errors.
  39. - selector: google.iam.v1.IAMPolicy.TestIamPermissions
  40. description: |-
  41. Returns permissions that a caller has on the specified resource. If the
  42. resource does not exist, this will return an empty set of
  43. permissions, not a `NOT_FOUND` error.
  44. Note: This operation is designed to be used for building
  45. permission-aware UIs and command-line tools, not for authorization
  46. checking. This operation may "fail open" without warning.
  47. backend:
  48. rules:
  49. - selector: google.cloud.location.Locations.GetLocation
  50. deadline: 60.0
  51. - selector: google.cloud.location.Locations.ListLocations
  52. deadline: 60.0
  53. - selector: 'google.cloud.vmmigration.v1.VmMigration.*'
  54. deadline: 60.0
  55. - selector: google.cloud.vmmigration.v1.VmMigration.FetchInventory
  56. deadline: 120.0
  57. - selector: 'google.iam.v1.IAMPolicy.*'
  58. deadline: 60.0
  59. - selector: 'google.longrunning.Operations.*'
  60. deadline: 60.0
  61. http:
  62. rules:
  63. - selector: google.cloud.location.Locations.GetLocation
  64. get: '/v1/{name=projects/*/locations/*}'
  65. - selector: google.cloud.location.Locations.ListLocations
  66. get: '/v1/{name=projects/*}/locations'
  67. - selector: google.longrunning.Operations.CancelOperation
  68. post: '/v1/{name=projects/*/locations/*/operations/*}:cancel'
  69. body: '*'
  70. - selector: google.longrunning.Operations.DeleteOperation
  71. delete: '/v1/{name=projects/*/locations/*/operations/*}'
  72. - selector: google.longrunning.Operations.GetOperation
  73. get: '/v1/{name=projects/*/locations/*/operations/*}'
  74. - selector: google.longrunning.Operations.ListOperations
  75. get: '/v1/{name=projects/*/locations/*}/operations'
  76. authentication:
  77. rules:
  78. - selector: google.cloud.location.Locations.GetLocation
  79. oauth:
  80. canonical_scopes: |-
  81. https://www.googleapis.com/auth/cloud-platform
  82. - selector: google.cloud.location.Locations.ListLocations
  83. oauth:
  84. canonical_scopes: |-
  85. https://www.googleapis.com/auth/cloud-platform
  86. - selector: 'google.cloud.vmmigration.v1.VmMigration.*'
  87. oauth:
  88. canonical_scopes: |-
  89. https://www.googleapis.com/auth/cloud-platform
  90. - selector: 'google.iam.v1.IAMPolicy.*'
  91. oauth:
  92. canonical_scopes: |-
  93. https://www.googleapis.com/auth/cloud-platform
  94. - selector: 'google.longrunning.Operations.*'
  95. oauth:
  96. canonical_scopes: |-
  97. https://www.googleapis.com/auth/cloud-platform