|
110 | 110 | "resources": {
|
111 | 111 | "customers": {
|
112 | 112 | "methods": {
|
| 113 | + "checkHasProvisionedDeployment": { |
| 114 | + "description": "Checks whether a SAS deployment for the authentication context exists.", |
| 115 | + "flatPath": "v1alpha1/customers:checkHasProvisionedDeployment", |
| 116 | + "httpMethod": "GET", |
| 117 | + "id": "prod_tt_sasportal.customers.checkHasProvisionedDeployment", |
| 118 | + "parameterOrder": [], |
| 119 | + "parameters": {}, |
| 120 | + "path": "v1alpha1/customers:checkHasProvisionedDeployment", |
| 121 | + "response": { |
| 122 | + "$ref": "SasPortalCheckHasProvisionedDeploymentResponse" |
| 123 | + }, |
| 124 | + "scopes": [ |
| 125 | + "https://www.googleapis.com/auth/cloud-platform", |
| 126 | + "https://www.googleapis.com/auth/sasportal" |
| 127 | + ] |
| 128 | + }, |
113 | 129 | "get": {
|
114 | 130 | "description": "Returns a requested customer.",
|
115 | 131 | "flatPath": "v1alpha1/customers/{customersId}",
|
|
164 | 180 | "https://www.googleapis.com/auth/sasportal"
|
165 | 181 | ]
|
166 | 182 | },
|
| 183 | + "migrateOrganization": { |
| 184 | + "description": "Migrates a SAS organization to the cloud. This will create GCP projects for each deployment and associate them. The SAS Organization is linked to the gcp project that called the command. go/sas-legacy-customer-migration", |
| 185 | + "flatPath": "v1alpha1/customers:migrateOrganization", |
| 186 | + "httpMethod": "POST", |
| 187 | + "id": "prod_tt_sasportal.customers.migrateOrganization", |
| 188 | + "parameterOrder": [], |
| 189 | + "parameters": {}, |
| 190 | + "path": "v1alpha1/customers:migrateOrganization", |
| 191 | + "request": { |
| 192 | + "$ref": "SasPortalMigrateOrganizationRequest" |
| 193 | + }, |
| 194 | + "response": { |
| 195 | + "$ref": "SasPortalOperation" |
| 196 | + }, |
| 197 | + "scopes": [ |
| 198 | + "https://www.googleapis.com/auth/cloud-platform", |
| 199 | + "https://www.googleapis.com/auth/sasportal" |
| 200 | + ] |
| 201 | + }, |
167 | 202 | "patch": {
|
168 | 203 | "description": "Updates an existing customer.",
|
169 | 204 | "flatPath": "v1alpha1/customers/{customersId}",
|
|
2583 | 2618 | }
|
2584 | 2619 | }
|
2585 | 2620 | },
|
2586 |
| - "revision": "20230612", |
| 2621 | + "revision": "20230625", |
2587 | 2622 | "rootUrl": "https://prod-tt-sasportal.googleapis.com/",
|
2588 | 2623 | "schemas": {
|
2589 | 2624 | "SasPortalAssignment": {
|
|
2620 | 2655 | },
|
2621 | 2656 | "type": "object"
|
2622 | 2657 | },
|
| 2658 | + "SasPortalCheckHasProvisionedDeploymentResponse": { |
| 2659 | + "description": "Response for [CheckHasProvisionedDeployment]. [spectrum.sas.portal.v1alpha1.Provisioning.CheckHasProvisionedDeployment].", |
| 2660 | + "id": "SasPortalCheckHasProvisionedDeploymentResponse", |
| 2661 | + "properties": { |
| 2662 | + "hasProvisionedDeployment": { |
| 2663 | + "description": "Whether a SAS deployment for the authentication context exists.", |
| 2664 | + "type": "boolean" |
| 2665 | + } |
| 2666 | + }, |
| 2667 | + "type": "object" |
| 2668 | + }, |
2623 | 2669 | "SasPortalCreateSignedDeviceRequest": {
|
2624 | 2670 | "description": "Request for CreateSignedDevice.",
|
2625 | 2671 | "id": "SasPortalCreateSignedDeviceRequest",
|
|
2689 | 2735 | },
|
2690 | 2736 | "type": "object"
|
2691 | 2737 | },
|
| 2738 | + "SasPortalDeploymentAssociation": { |
| 2739 | + "description": "Association between a gcp project and a SAS user id.", |
| 2740 | + "id": "SasPortalDeploymentAssociation", |
| 2741 | + "properties": { |
| 2742 | + "gcpProjectId": { |
| 2743 | + "description": "GCP project id of the associated project.", |
| 2744 | + "type": "string" |
| 2745 | + }, |
| 2746 | + "userId": { |
| 2747 | + "description": "User id of the deployment.", |
| 2748 | + "type": "string" |
| 2749 | + } |
| 2750 | + }, |
| 2751 | + "type": "object" |
| 2752 | + }, |
2692 | 2753 | "SasPortalDevice": {
|
2693 | 2754 | "id": "SasPortalDevice",
|
2694 | 2755 | "properties": {
|
|
3244 | 3305 | },
|
3245 | 3306 | "type": "object"
|
3246 | 3307 | },
|
| 3308 | + "SasPortalMigrateOrganizationMetadata": { |
| 3309 | + "description": "Long-running operation metadata message returned by the MigrateOrganization.", |
| 3310 | + "id": "SasPortalMigrateOrganizationMetadata", |
| 3311 | + "properties": { |
| 3312 | + "operationState": { |
| 3313 | + "description": "Output only. Current operation state", |
| 3314 | + "enum": [ |
| 3315 | + "OPERATION_STATE_UNSPECIFIED", |
| 3316 | + "OPERATION_STATE_PENDING", |
| 3317 | + "OPERATION_STATE_RUNNING", |
| 3318 | + "OPERATION_STATE_SUCCEEDED", |
| 3319 | + "OPERATION_STATE_FAILED" |
| 3320 | + ], |
| 3321 | + "enumDescriptions": [ |
| 3322 | + "Unspecified.", |
| 3323 | + "Pending (Not started).", |
| 3324 | + "In-progress.", |
| 3325 | + "Done successfully.", |
| 3326 | + "Done with errors." |
| 3327 | + ], |
| 3328 | + "readOnly": true, |
| 3329 | + "type": "string" |
| 3330 | + } |
| 3331 | + }, |
| 3332 | + "type": "object" |
| 3333 | + }, |
| 3334 | + "SasPortalMigrateOrganizationRequest": { |
| 3335 | + "description": "Request for [MigrateOrganization]. [spectrum.sas.portal.v1alpha1.Provisioning.MigrateOrganization]. GCP Project, Organization Info, and caller's GAIA ID should be retrieved from the RPC handler, and used to check authorization on SAS Portal organization and to create GCP Projects.", |
| 3336 | + "id": "SasPortalMigrateOrganizationRequest", |
| 3337 | + "properties": { |
| 3338 | + "organizationId": { |
| 3339 | + "description": "Required. Id of the SAS organization to be migrated.", |
| 3340 | + "format": "int64", |
| 3341 | + "type": "string" |
| 3342 | + } |
| 3343 | + }, |
| 3344 | + "type": "object" |
| 3345 | + }, |
| 3346 | + "SasPortalMigrateOrganizationResponse": { |
| 3347 | + "description": "Response for [MigrateOrganization]. [spectrum.sas.portal.v1alpha1.Provisioning.MigrateOrganization].", |
| 3348 | + "id": "SasPortalMigrateOrganizationResponse", |
| 3349 | + "properties": { |
| 3350 | + "deploymentAssociation": { |
| 3351 | + "description": "Optional. A list of deployment association that were created for the migration, or current associations if they already exist.", |
| 3352 | + "items": { |
| 3353 | + "$ref": "SasPortalDeploymentAssociation" |
| 3354 | + }, |
| 3355 | + "type": "array" |
| 3356 | + } |
| 3357 | + }, |
| 3358 | + "type": "object" |
| 3359 | + }, |
3247 | 3360 | "SasPortalMoveDeploymentRequest": {
|
3248 | 3361 | "description": "Request for MoveDeployment.",
|
3249 | 3362 | "id": "SasPortalMoveDeploymentRequest",
|
|
0 commit comments