...

Text file src/google.golang.org/api/rapidmigrationassessment/v1/rapidmigrationassessment-api.json

Documentation: google.golang.org/api/rapidmigrationassessment/v1

     1{
     2  "auth": {
     3    "oauth2": {
     4      "scopes": {
     5        "https://www.googleapis.com/auth/cloud-platform": {
     6          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
     7        }
     8      }
     9    }
    10  },
    11  "basePath": "",
    12  "baseUrl": "https://rapidmigrationassessment.googleapis.com/",
    13  "batchPath": "batch",
    14  "canonicalName": "Rapid Migration Assessment",
    15  "description": "The Rapid Migration Assessment service is our first-party migration assessment and planning tool.",
    16  "discoveryVersion": "v1",
    17  "documentationLink": "https://cloud.google.com/migration-center",
    18  "fullyEncodeReservedExpansion": true,
    19  "icons": {
    20    "x16": "http://www.google.com/images/icons/product/search-16.gif",
    21    "x32": "http://www.google.com/images/icons/product/search-32.gif"
    22  },
    23  "id": "rapidmigrationassessment:v1",
    24  "kind": "discovery#restDescription",
    25  "mtlsRootUrl": "https://rapidmigrationassessment.mtls.googleapis.com/",
    26  "name": "rapidmigrationassessment",
    27  "ownerDomain": "google.com",
    28  "ownerName": "Google",
    29  "parameters": {
    30    "$.xgafv": {
    31      "description": "V1 error format.",
    32      "enum": [
    33        "1",
    34        "2"
    35      ],
    36      "enumDescriptions": [
    37        "v1 error format",
    38        "v2 error format"
    39      ],
    40      "location": "query",
    41      "type": "string"
    42    },
    43    "access_token": {
    44      "description": "OAuth access token.",
    45      "location": "query",
    46      "type": "string"
    47    },
    48    "alt": {
    49      "default": "json",
    50      "description": "Data format for response.",
    51      "enum": [
    52        "json",
    53        "media",
    54        "proto"
    55      ],
    56      "enumDescriptions": [
    57        "Responses with Content-Type of application/json",
    58        "Media download with context-dependent Content-Type",
    59        "Responses with Content-Type of application/x-protobuf"
    60      ],
    61      "location": "query",
    62      "type": "string"
    63    },
    64    "callback": {
    65      "description": "JSONP",
    66      "location": "query",
    67      "type": "string"
    68    },
    69    "fields": {
    70      "description": "Selector specifying which fields to include in a partial response.",
    71      "location": "query",
    72      "type": "string"
    73    },
    74    "key": {
    75      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
    76      "location": "query",
    77      "type": "string"
    78    },
    79    "oauth_token": {
    80      "description": "OAuth 2.0 token for the current user.",
    81      "location": "query",
    82      "type": "string"
    83    },
    84    "prettyPrint": {
    85      "default": "true",
    86      "description": "Returns response with indentations and line breaks.",
    87      "location": "query",
    88      "type": "boolean"
    89    },
    90    "quotaUser": {
    91      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
    92      "location": "query",
    93      "type": "string"
    94    },
    95    "uploadType": {
    96      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
    97      "location": "query",
    98      "type": "string"
    99    },
   100    "upload_protocol": {
   101      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
   102      "location": "query",
   103      "type": "string"
   104    }
   105  },
   106  "protocol": "rest",
   107  "resources": {
   108    "projects": {
   109      "resources": {
   110        "locations": {
   111          "methods": {
   112            "get": {
   113              "description": "Gets information about a location.",
   114              "flatPath": "v1/projects/{projectsId}/locations/{locationsId}",
   115              "httpMethod": "GET",
   116              "id": "rapidmigrationassessment.projects.locations.get",
   117              "parameterOrder": [
   118                "name"
   119              ],
   120              "parameters": {
   121                "name": {
   122                  "description": "Resource name for the location.",
   123                  "location": "path",
   124                  "pattern": "^projects/[^/]+/locations/[^/]+$",
   125                  "required": true,
   126                  "type": "string"
   127                }
   128              },
   129              "path": "v1/{+name}",
   130              "response": {
   131                "$ref": "Location"
   132              },
   133              "scopes": [
   134                "https://www.googleapis.com/auth/cloud-platform"
   135              ]
   136            },
   137            "list": {
   138              "description": "Lists information about the supported locations for this service.",
   139              "flatPath": "v1/projects/{projectsId}/locations",
   140              "httpMethod": "GET",
   141              "id": "rapidmigrationassessment.projects.locations.list",
   142              "parameterOrder": [
   143                "name"
   144              ],
   145              "parameters": {
   146                "filter": {
   147                  "description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
   148                  "location": "query",
   149                  "type": "string"
   150                },
   151                "name": {
   152                  "description": "The resource that owns the locations collection, if applicable.",
   153                  "location": "path",
   154                  "pattern": "^projects/[^/]+$",
   155                  "required": true,
   156                  "type": "string"
   157                },
   158                "pageSize": {
   159                  "description": "The maximum number of results to return. If not set, the service selects a default.",
   160                  "format": "int32",
   161                  "location": "query",
   162                  "type": "integer"
   163                },
   164                "pageToken": {
   165                  "description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.",
   166                  "location": "query",
   167                  "type": "string"
   168                }
   169              },
   170              "path": "v1/{+name}/locations",
   171              "response": {
   172                "$ref": "ListLocationsResponse"
   173              },
   174              "scopes": [
   175                "https://www.googleapis.com/auth/cloud-platform"
   176              ]
   177            }
   178          },
   179          "resources": {
   180            "annotations": {
   181              "methods": {
   182                "create": {
   183                  "description": "Creates an Annotation",
   184                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/annotations",
   185                  "httpMethod": "POST",
   186                  "id": "rapidmigrationassessment.projects.locations.annotations.create",
   187                  "parameterOrder": [
   188                    "parent"
   189                  ],
   190                  "parameters": {
   191                    "parent": {
   192                      "description": "Required. Name of the parent (project+location).",
   193                      "location": "path",
   194                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   195                      "required": true,
   196                      "type": "string"
   197                    },
   198                    "requestId": {
   199                      "description": "Optional. An optional request ID to identify requests.",
   200                      "location": "query",
   201                      "type": "string"
   202                    }
   203                  },
   204                  "path": "v1/{+parent}/annotations",
   205                  "request": {
   206                    "$ref": "Annotation"
   207                  },
   208                  "response": {
   209                    "$ref": "Operation"
   210                  },
   211                  "scopes": [
   212                    "https://www.googleapis.com/auth/cloud-platform"
   213                  ]
   214                },
   215                "get": {
   216                  "description": "Gets details of a single Annotation.",
   217                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/annotations/{annotationsId}",
   218                  "httpMethod": "GET",
   219                  "id": "rapidmigrationassessment.projects.locations.annotations.get",
   220                  "parameterOrder": [
   221                    "name"
   222                  ],
   223                  "parameters": {
   224                    "name": {
   225                      "description": "Required. Name of the resource.",
   226                      "location": "path",
   227                      "pattern": "^projects/[^/]+/locations/[^/]+/annotations/[^/]+$",
   228                      "required": true,
   229                      "type": "string"
   230                    }
   231                  },
   232                  "path": "v1/{+name}",
   233                  "response": {
   234                    "$ref": "Annotation"
   235                  },
   236                  "scopes": [
   237                    "https://www.googleapis.com/auth/cloud-platform"
   238                  ]
   239                }
   240              }
   241            },
   242            "collectors": {
   243              "methods": {
   244                "create": {
   245                  "description": "Create a Collector to manage the on-prem appliance which collects information about Customer assets.",
   246                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collectors",
   247                  "httpMethod": "POST",
   248                  "id": "rapidmigrationassessment.projects.locations.collectors.create",
   249                  "parameterOrder": [
   250                    "parent"
   251                  ],
   252                  "parameters": {
   253                    "collectorId": {
   254                      "description": "Required. Id of the requesting object.",
   255                      "location": "query",
   256                      "type": "string"
   257                    },
   258                    "parent": {
   259                      "description": "Required. Name of the parent (project+location).",
   260                      "location": "path",
   261                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   262                      "required": true,
   263                      "type": "string"
   264                    },
   265                    "requestId": {
   266                      "description": "Optional. An optional request ID to identify requests.",
   267                      "location": "query",
   268                      "type": "string"
   269                    }
   270                  },
   271                  "path": "v1/{+parent}/collectors",
   272                  "request": {
   273                    "$ref": "Collector"
   274                  },
   275                  "response": {
   276                    "$ref": "Operation"
   277                  },
   278                  "scopes": [
   279                    "https://www.googleapis.com/auth/cloud-platform"
   280                  ]
   281                },
   282                "delete": {
   283                  "description": "Deletes a single Collector - changes state of collector to \"Deleting\". Background jobs does final deletion thorugh producer api.",
   284                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collectors/{collectorsId}",
   285                  "httpMethod": "DELETE",
   286                  "id": "rapidmigrationassessment.projects.locations.collectors.delete",
   287                  "parameterOrder": [
   288                    "name"
   289                  ],
   290                  "parameters": {
   291                    "name": {
   292                      "description": "Required. Name of the resource.",
   293                      "location": "path",
   294                      "pattern": "^projects/[^/]+/locations/[^/]+/collectors/[^/]+$",
   295                      "required": true,
   296                      "type": "string"
   297                    },
   298                    "requestId": {
   299                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
   300                      "location": "query",
   301                      "type": "string"
   302                    }
   303                  },
   304                  "path": "v1/{+name}",
   305                  "response": {
   306                    "$ref": "Operation"
   307                  },
   308                  "scopes": [
   309                    "https://www.googleapis.com/auth/cloud-platform"
   310                  ]
   311                },
   312                "get": {
   313                  "description": "Gets details of a single Collector.",
   314                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collectors/{collectorsId}",
   315                  "httpMethod": "GET",
   316                  "id": "rapidmigrationassessment.projects.locations.collectors.get",
   317                  "parameterOrder": [
   318                    "name"
   319                  ],
   320                  "parameters": {
   321                    "name": {
   322                      "description": "Required. Name of the resource.",
   323                      "location": "path",
   324                      "pattern": "^projects/[^/]+/locations/[^/]+/collectors/[^/]+$",
   325                      "required": true,
   326                      "type": "string"
   327                    }
   328                  },
   329                  "path": "v1/{+name}",
   330                  "response": {
   331                    "$ref": "Collector"
   332                  },
   333                  "scopes": [
   334                    "https://www.googleapis.com/auth/cloud-platform"
   335                  ]
   336                },
   337                "list": {
   338                  "description": "Lists Collectors in a given project and location.",
   339                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collectors",
   340                  "httpMethod": "GET",
   341                  "id": "rapidmigrationassessment.projects.locations.collectors.list",
   342                  "parameterOrder": [
   343                    "parent"
   344                  ],
   345                  "parameters": {
   346                    "filter": {
   347                      "description": "Filtering results.",
   348                      "location": "query",
   349                      "type": "string"
   350                    },
   351                    "orderBy": {
   352                      "description": "Hint for how to order the results.",
   353                      "location": "query",
   354                      "type": "string"
   355                    },
   356                    "pageSize": {
   357                      "description": "Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.",
   358                      "format": "int32",
   359                      "location": "query",
   360                      "type": "integer"
   361                    },
   362                    "pageToken": {
   363                      "description": "A token identifying a page of results the server should return.",
   364                      "location": "query",
   365                      "type": "string"
   366                    },
   367                    "parent": {
   368                      "description": "Required. Parent value for ListCollectorsRequest.",
   369                      "location": "path",
   370                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   371                      "required": true,
   372                      "type": "string"
   373                    }
   374                  },
   375                  "path": "v1/{+parent}/collectors",
   376                  "response": {
   377                    "$ref": "ListCollectorsResponse"
   378                  },
   379                  "scopes": [
   380                    "https://www.googleapis.com/auth/cloud-platform"
   381                  ]
   382                },
   383                "patch": {
   384                  "description": "Updates the parameters of a single Collector.",
   385                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collectors/{collectorsId}",
   386                  "httpMethod": "PATCH",
   387                  "id": "rapidmigrationassessment.projects.locations.collectors.patch",
   388                  "parameterOrder": [
   389                    "name"
   390                  ],
   391                  "parameters": {
   392                    "name": {
   393                      "description": "name of resource.",
   394                      "location": "path",
   395                      "pattern": "^projects/[^/]+/locations/[^/]+/collectors/[^/]+$",
   396                      "required": true,
   397                      "type": "string"
   398                    },
   399                    "requestId": {
   400                      "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
   401                      "location": "query",
   402                      "type": "string"
   403                    },
   404                    "updateMask": {
   405                      "description": "Required. Field mask is used to specify the fields to be overwritten in the Collector resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.",
   406                      "format": "google-fieldmask",
   407                      "location": "query",
   408                      "type": "string"
   409                    }
   410                  },
   411                  "path": "v1/{+name}",
   412                  "request": {
   413                    "$ref": "Collector"
   414                  },
   415                  "response": {
   416                    "$ref": "Operation"
   417                  },
   418                  "scopes": [
   419                    "https://www.googleapis.com/auth/cloud-platform"
   420                  ]
   421                },
   422                "pause": {
   423                  "description": "Pauses the given collector.",
   424                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collectors/{collectorsId}:pause",
   425                  "httpMethod": "POST",
   426                  "id": "rapidmigrationassessment.projects.locations.collectors.pause",
   427                  "parameterOrder": [
   428                    "name"
   429                  ],
   430                  "parameters": {
   431                    "name": {
   432                      "description": "Required. Name of the resource.",
   433                      "location": "path",
   434                      "pattern": "^projects/[^/]+/locations/[^/]+/collectors/[^/]+$",
   435                      "required": true,
   436                      "type": "string"
   437                    }
   438                  },
   439                  "path": "v1/{+name}:pause",
   440                  "request": {
   441                    "$ref": "PauseCollectorRequest"
   442                  },
   443                  "response": {
   444                    "$ref": "Operation"
   445                  },
   446                  "scopes": [
   447                    "https://www.googleapis.com/auth/cloud-platform"
   448                  ]
   449                },
   450                "register": {
   451                  "description": "Registers the given collector.",
   452                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collectors/{collectorsId}:register",
   453                  "httpMethod": "POST",
   454                  "id": "rapidmigrationassessment.projects.locations.collectors.register",
   455                  "parameterOrder": [
   456                    "name"
   457                  ],
   458                  "parameters": {
   459                    "name": {
   460                      "description": "Required. Name of the resource.",
   461                      "location": "path",
   462                      "pattern": "^projects/[^/]+/locations/[^/]+/collectors/[^/]+$",
   463                      "required": true,
   464                      "type": "string"
   465                    }
   466                  },
   467                  "path": "v1/{+name}:register",
   468                  "request": {
   469                    "$ref": "RegisterCollectorRequest"
   470                  },
   471                  "response": {
   472                    "$ref": "Operation"
   473                  },
   474                  "scopes": [
   475                    "https://www.googleapis.com/auth/cloud-platform"
   476                  ]
   477                },
   478                "resume": {
   479                  "description": "Resumes the given collector.",
   480                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/collectors/{collectorsId}:resume",
   481                  "httpMethod": "POST",
   482                  "id": "rapidmigrationassessment.projects.locations.collectors.resume",
   483                  "parameterOrder": [
   484                    "name"
   485                  ],
   486                  "parameters": {
   487                    "name": {
   488                      "description": "Required. Name of the resource.",
   489                      "location": "path",
   490                      "pattern": "^projects/[^/]+/locations/[^/]+/collectors/[^/]+$",
   491                      "required": true,
   492                      "type": "string"
   493                    }
   494                  },
   495                  "path": "v1/{+name}:resume",
   496                  "request": {
   497                    "$ref": "ResumeCollectorRequest"
   498                  },
   499                  "response": {
   500                    "$ref": "Operation"
   501                  },
   502                  "scopes": [
   503                    "https://www.googleapis.com/auth/cloud-platform"
   504                  ]
   505                }
   506              }
   507            },
   508            "operations": {
   509              "methods": {
   510                "cancel": {
   511                  "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
   512                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
   513                  "httpMethod": "POST",
   514                  "id": "rapidmigrationassessment.projects.locations.operations.cancel",
   515                  "parameterOrder": [
   516                    "name"
   517                  ],
   518                  "parameters": {
   519                    "name": {
   520                      "description": "The name of the operation resource to be cancelled.",
   521                      "location": "path",
   522                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
   523                      "required": true,
   524                      "type": "string"
   525                    }
   526                  },
   527                  "path": "v1/{+name}:cancel",
   528                  "request": {
   529                    "$ref": "CancelOperationRequest"
   530                  },
   531                  "response": {
   532                    "$ref": "Empty"
   533                  },
   534                  "scopes": [
   535                    "https://www.googleapis.com/auth/cloud-platform"
   536                  ]
   537                },
   538                "delete": {
   539                  "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
   540                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
   541                  "httpMethod": "DELETE",
   542                  "id": "rapidmigrationassessment.projects.locations.operations.delete",
   543                  "parameterOrder": [
   544                    "name"
   545                  ],
   546                  "parameters": {
   547                    "name": {
   548                      "description": "The name of the operation resource to be deleted.",
   549                      "location": "path",
   550                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
   551                      "required": true,
   552                      "type": "string"
   553                    }
   554                  },
   555                  "path": "v1/{+name}",
   556                  "response": {
   557                    "$ref": "Empty"
   558                  },
   559                  "scopes": [
   560                    "https://www.googleapis.com/auth/cloud-platform"
   561                  ]
   562                },
   563                "get": {
   564                  "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
   565                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
   566                  "httpMethod": "GET",
   567                  "id": "rapidmigrationassessment.projects.locations.operations.get",
   568                  "parameterOrder": [
   569                    "name"
   570                  ],
   571                  "parameters": {
   572                    "name": {
   573                      "description": "The name of the operation resource.",
   574                      "location": "path",
   575                      "pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
   576                      "required": true,
   577                      "type": "string"
   578                    }
   579                  },
   580                  "path": "v1/{+name}",
   581                  "response": {
   582                    "$ref": "Operation"
   583                  },
   584                  "scopes": [
   585                    "https://www.googleapis.com/auth/cloud-platform"
   586                  ]
   587                },
   588                "list": {
   589                  "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
   590                  "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations",
   591                  "httpMethod": "GET",
   592                  "id": "rapidmigrationassessment.projects.locations.operations.list",
   593                  "parameterOrder": [
   594                    "name"
   595                  ],
   596                  "parameters": {
   597                    "filter": {
   598                      "description": "The standard list filter.",
   599                      "location": "query",
   600                      "type": "string"
   601                    },
   602                    "name": {
   603                      "description": "The name of the operation's parent resource.",
   604                      "location": "path",
   605                      "pattern": "^projects/[^/]+/locations/[^/]+$",
   606                      "required": true,
   607                      "type": "string"
   608                    },
   609                    "pageSize": {
   610                      "description": "The standard list page size.",
   611                      "format": "int32",
   612                      "location": "query",
   613                      "type": "integer"
   614                    },
   615                    "pageToken": {
   616                      "description": "The standard list page token.",
   617                      "location": "query",
   618                      "type": "string"
   619                    }
   620                  },
   621                  "path": "v1/{+name}/operations",
   622                  "response": {
   623                    "$ref": "ListOperationsResponse"
   624                  },
   625                  "scopes": [
   626                    "https://www.googleapis.com/auth/cloud-platform"
   627                  ]
   628                }
   629              }
   630            }
   631          }
   632        }
   633      }
   634    }
   635  },
   636  "revision": "20230824",
   637  "rootUrl": "https://rapidmigrationassessment.googleapis.com/",
   638  "schemas": {
   639    "Annotation": {
   640      "description": "Message describing an Annotation",
   641      "id": "Annotation",
   642      "properties": {
   643        "createTime": {
   644          "description": "Output only. Create time stamp.",
   645          "format": "google-datetime",
   646          "readOnly": true,
   647          "type": "string"
   648        },
   649        "labels": {
   650          "additionalProperties": {
   651            "type": "string"
   652          },
   653          "description": "Labels as key value pairs.",
   654          "type": "object"
   655        },
   656        "name": {
   657          "description": "name of resource.",
   658          "type": "string"
   659        },
   660        "type": {
   661          "description": "Type of an annotation.",
   662          "enum": [
   663            "TYPE_UNSPECIFIED",
   664            "TYPE_LEGACY_EXPORT_CONSENT",
   665            "TYPE_QWIKLAB"
   666          ],
   667          "enumDescriptions": [
   668            "Unknown type",
   669            "Indicates that this project has opted into StratoZone export.",
   670            "Indicates that this project is created by Qwiklab."
   671          ],
   672          "type": "string"
   673        },
   674        "updateTime": {
   675          "description": "Output only. Update time stamp.",
   676          "format": "google-datetime",
   677          "readOnly": true,
   678          "type": "string"
   679        }
   680      },
   681      "type": "object"
   682    },
   683    "CancelOperationRequest": {
   684      "description": "The request message for Operations.CancelOperation.",
   685      "id": "CancelOperationRequest",
   686      "properties": {},
   687      "type": "object"
   688    },
   689    "Collector": {
   690      "description": "Message describing Collector object.",
   691      "id": "Collector",
   692      "properties": {
   693        "bucket": {
   694          "description": "Output only. Store cloud storage bucket name (which is a guid) created with this Collector.",
   695          "readOnly": true,
   696          "type": "string"
   697        },
   698        "clientVersion": {
   699          "description": "Output only. Client version.",
   700          "readOnly": true,
   701          "type": "string"
   702        },
   703        "collectionDays": {
   704          "description": "How many days to collect data.",
   705          "format": "int32",
   706          "type": "integer"
   707        },
   708        "createTime": {
   709          "description": "Output only. Create time stamp.",
   710          "format": "google-datetime",
   711          "readOnly": true,
   712          "type": "string"
   713        },
   714        "description": {
   715          "description": "User specified description of the Collector.",
   716          "type": "string"
   717        },
   718        "displayName": {
   719          "description": "User specified name of the Collector.",
   720          "type": "string"
   721        },
   722        "eulaUri": {
   723          "description": "Uri for EULA (End User License Agreement) from customer.",
   724          "type": "string"
   725        },
   726        "expectedAssetCount": {
   727          "description": "User specified expected asset count.",
   728          "format": "int64",
   729          "type": "string"
   730        },
   731        "guestOsScan": {
   732          "$ref": "GuestOsScan",
   733          "description": "Output only. Reference to MC Source Guest Os Scan.",
   734          "readOnly": true
   735        },
   736        "labels": {
   737          "additionalProperties": {
   738            "type": "string"
   739          },
   740          "description": "Labels as key value pairs.",
   741          "type": "object"
   742        },
   743        "name": {
   744          "description": "name of resource.",
   745          "type": "string"
   746        },
   747        "serviceAccount": {
   748          "description": "Service Account email used to ingest data to this Collector.",
   749          "type": "string"
   750        },
   751        "state": {
   752          "description": "Output only. State of the Collector.",
   753          "enum": [
   754            "STATE_UNSPECIFIED",
   755            "STATE_INITIALIZING",
   756            "STATE_READY_TO_USE",
   757            "STATE_REGISTERED",
   758            "STATE_ACTIVE",
   759            "STATE_PAUSED",
   760            "STATE_DELETING",
   761            "STATE_DECOMMISSIONED",
   762            "STATE_ERROR"
   763          ],
   764          "enumDescriptions": [
   765            "Collector state is not recognized.",
   766            "Collector started to create, but hasn't been completed MC source creation and db object creation.",
   767            "Collector has been created, MC source creation and db object creation completed.",
   768            "Collector client has been registered with client.",
   769            "Collector client is actively scanning.",
   770            "Collector is not actively scanning.",
   771            "Collector is starting background job for deletion.",
   772            "Collector completed all tasks for deletion.",
   773            "Collector is in error state."
   774          ],
   775          "readOnly": true,
   776          "type": "string"
   777        },
   778        "updateTime": {
   779          "description": "Output only. Update time stamp.",
   780          "format": "google-datetime",
   781          "readOnly": true,
   782          "type": "string"
   783        },
   784        "vsphereScan": {
   785          "$ref": "VSphereScan",
   786          "description": "Output only. Reference to MC Source vsphere_scan.",
   787          "readOnly": true
   788        }
   789      },
   790      "type": "object"
   791    },
   792    "Empty": {
   793      "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
   794      "id": "Empty",
   795      "properties": {},
   796      "type": "object"
   797    },
   798    "GuestOsScan": {
   799      "description": "Message describing a MC Source of type Guest OS Scan.",
   800      "id": "GuestOsScan",
   801      "properties": {
   802        "coreSource": {
   803          "description": "reference to the corresponding Guest OS Scan in MC Source.",
   804          "type": "string"
   805        }
   806      },
   807      "type": "object"
   808    },
   809    "ListCollectorsResponse": {
   810      "description": "Message for response to listing Collectors.",
   811      "id": "ListCollectorsResponse",
   812      "properties": {
   813        "collectors": {
   814          "description": "The list of Collectors.",
   815          "items": {
   816            "$ref": "Collector"
   817          },
   818          "type": "array"
   819        },
   820        "nextPageToken": {
   821          "description": "A token identifying a page of results the server should return.",
   822          "type": "string"
   823        },
   824        "unreachable": {
   825          "description": "Locations that could not be reached.",
   826          "items": {
   827            "type": "string"
   828          },
   829          "type": "array"
   830        }
   831      },
   832      "type": "object"
   833    },
   834    "ListLocationsResponse": {
   835      "description": "The response message for Locations.ListLocations.",
   836      "id": "ListLocationsResponse",
   837      "properties": {
   838        "locations": {
   839          "description": "A list of locations that matches the specified filter in the request.",
   840          "items": {
   841            "$ref": "Location"
   842          },
   843          "type": "array"
   844        },
   845        "nextPageToken": {
   846          "description": "The standard List next-page token.",
   847          "type": "string"
   848        }
   849      },
   850      "type": "object"
   851    },
   852    "ListOperationsResponse": {
   853      "description": "The response message for Operations.ListOperations.",
   854      "id": "ListOperationsResponse",
   855      "properties": {
   856        "nextPageToken": {
   857          "description": "The standard List next-page token.",
   858          "type": "string"
   859        },
   860        "operations": {
   861          "description": "A list of operations that matches the specified filter in the request.",
   862          "items": {
   863            "$ref": "Operation"
   864          },
   865          "type": "array"
   866        }
   867      },
   868      "type": "object"
   869    },
   870    "Location": {
   871      "description": "A resource that represents a Google Cloud location.",
   872      "id": "Location",
   873      "properties": {
   874        "displayName": {
   875          "description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".",
   876          "type": "string"
   877        },
   878        "labels": {
   879          "additionalProperties": {
   880            "type": "string"
   881          },
   882          "description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}",
   883          "type": "object"
   884        },
   885        "locationId": {
   886          "description": "The canonical id for this location. For example: `\"us-east1\"`.",
   887          "type": "string"
   888        },
   889        "metadata": {
   890          "additionalProperties": {
   891            "description": "Properties of the object. Contains field @type with type URL.",
   892            "type": "any"
   893          },
   894          "description": "Service-specific metadata. For example the available capacity at the given location.",
   895          "type": "object"
   896        },
   897        "name": {
   898          "description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`",
   899          "type": "string"
   900        }
   901      },
   902      "type": "object"
   903    },
   904    "Operation": {
   905      "description": "This resource represents a long-running operation that is the result of a network API call.",
   906      "id": "Operation",
   907      "properties": {
   908        "done": {
   909          "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
   910          "type": "boolean"
   911        },
   912        "error": {
   913          "$ref": "Status",
   914          "description": "The error result of the operation in case of failure or cancellation."
   915        },
   916        "metadata": {
   917          "additionalProperties": {
   918            "description": "Properties of the object. Contains field @type with type URL.",
   919            "type": "any"
   920          },
   921          "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
   922          "type": "object"
   923        },
   924        "name": {
   925          "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
   926          "type": "string"
   927        },
   928        "response": {
   929          "additionalProperties": {
   930            "description": "Properties of the object. Contains field @type with type URL.",
   931            "type": "any"
   932          },
   933          "description": "The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
   934          "type": "object"
   935        }
   936      },
   937      "type": "object"
   938    },
   939    "OperationMetadata": {
   940      "description": "Represents the metadata of the long-running operation.",
   941      "id": "OperationMetadata",
   942      "properties": {
   943        "apiVersion": {
   944          "description": "Output only. API version used to start the operation.",
   945          "readOnly": true,
   946          "type": "string"
   947        },
   948        "createTime": {
   949          "description": "Output only. The time the operation was created.",
   950          "format": "google-datetime",
   951          "readOnly": true,
   952          "type": "string"
   953        },
   954        "endTime": {
   955          "description": "Output only. The time the operation finished running.",
   956          "format": "google-datetime",
   957          "readOnly": true,
   958          "type": "string"
   959        },
   960        "requestedCancellation": {
   961          "description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
   962          "readOnly": true,
   963          "type": "boolean"
   964        },
   965        "statusMessage": {
   966          "description": "Output only. Human-readable status of the operation, if any.",
   967          "readOnly": true,
   968          "type": "string"
   969        },
   970        "target": {
   971          "description": "Output only. Server-defined resource path for the target of the operation.",
   972          "readOnly": true,
   973          "type": "string"
   974        },
   975        "verb": {
   976          "description": "Output only. Name of the verb executed by the operation.",
   977          "readOnly": true,
   978          "type": "string"
   979        }
   980      },
   981      "type": "object"
   982    },
   983    "PauseCollectorRequest": {
   984      "description": "Message for pausing a Collector.",
   985      "id": "PauseCollectorRequest",
   986      "properties": {
   987        "requestId": {
   988          "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
   989          "type": "string"
   990        }
   991      },
   992      "type": "object"
   993    },
   994    "RegisterCollectorRequest": {
   995      "description": "Message for registering a Collector.",
   996      "id": "RegisterCollectorRequest",
   997      "properties": {
   998        "requestId": {
   999          "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
  1000          "type": "string"
  1001        }
  1002      },
  1003      "type": "object"
  1004    },
  1005    "ResumeCollectorRequest": {
  1006      "description": "Message for resuming a Collector.",
  1007      "id": "ResumeCollectorRequest",
  1008      "properties": {
  1009        "requestId": {
  1010          "description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
  1011          "type": "string"
  1012        }
  1013      },
  1014      "type": "object"
  1015    },
  1016    "Status": {
  1017      "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
  1018      "id": "Status",
  1019      "properties": {
  1020        "code": {
  1021          "description": "The status code, which should be an enum value of google.rpc.Code.",
  1022          "format": "int32",
  1023          "type": "integer"
  1024        },
  1025        "details": {
  1026          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
  1027          "items": {
  1028            "additionalProperties": {
  1029              "description": "Properties of the object. Contains field @type with type URL.",
  1030              "type": "any"
  1031            },
  1032            "type": "object"
  1033          },
  1034          "type": "array"
  1035        },
  1036        "message": {
  1037          "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
  1038          "type": "string"
  1039        }
  1040      },
  1041      "type": "object"
  1042    },
  1043    "VSphereScan": {
  1044      "description": "Message describing a MC Source of type VSphere Scan.",
  1045      "id": "VSphereScan",
  1046      "properties": {
  1047        "coreSource": {
  1048          "description": "reference to the corresponding VSphere Scan in MC Source.",
  1049          "type": "string"
  1050        }
  1051      },
  1052      "type": "object"
  1053    }
  1054  },
  1055  "servicePath": "",
  1056  "title": "Rapid Migration Assessment API",
  1057  "version": "v1",
  1058  "version_module": true
  1059}

View as plain text