| 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://cloudlocationfinder.googleapis.com/", |
| 13 |
"batchPath": "batch", |
| 14 |
"canonicalName": "Cloud Location Finder", |
| 15 |
"description": "", |
| 16 |
"discoveryVersion": "v1", |
| 17 |
"documentationLink": "https://cloud.google.com/location-finder/docs", |
| 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": "cloudlocationfinder:v1", |
| 24 |
"kind": "discovery#restDescription", |
| 25 |
"mtlsRootUrl": "https://cloudlocationfinder.mtls.googleapis.com/", |
| 26 |
"name": "cloudlocationfinder", |
| 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": "cloudlocationfinder.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. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.", |
| 139 |
"flatPath": "v1/projects/{projectsId}/locations", |
| 140 |
"httpMethod": "GET", |
| 141 |
"id": "cloudlocationfinder.projects.locations.list", |
| 142 |
"parameterOrder": [ |
| 143 |
"name" |
| 144 |
], |
| 145 |
"parameters": { |
| 146 |
"extraLocationTypes": { |
| 147 |
"description": "Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.", |
| 148 |
"location": "query", |
| 149 |
"repeated": true, |
| 150 |
"type": "string" |
| 151 |
}, |
| 152 |
"filter": { |
| 153 |
"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).", |
| 154 |
"location": "query", |
| 155 |
"type": "string" |
| 156 |
}, |
| 157 |
"name": { |
| 158 |
"description": "The resource that owns the locations collection, if applicable.", |
| 159 |
"location": "path", |
| 160 |
"pattern": "^projects/[^/]+$", |
| 161 |
"required": true, |
| 162 |
"type": "string" |
| 163 |
}, |
| 164 |
"pageSize": { |
| 165 |
"description": "The maximum number of results to return. If not set, the service selects a default.", |
| 166 |
"format": "int32", |
| 167 |
"location": "query", |
| 168 |
"type": "integer" |
| 169 |
}, |
| 170 |
"pageToken": { |
| 171 |
"description": "A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.", |
| 172 |
"location": "query", |
| 173 |
"type": "string" |
| 174 |
} |
| 175 |
}, |
| 176 |
"path": "v1/{+name}/locations", |
| 177 |
"response": { |
| 178 |
"$ref": "ListLocationsResponse" |
| 179 |
}, |
| 180 |
"scopes": [ |
| 181 |
"https://www.googleapis.com/auth/cloud-platform" |
| 182 |
] |
| 183 |
} |
| 184 |
}, |
| 185 |
"resources": { |
| 186 |
"cloudLocations": { |
| 187 |
"methods": { |
| 188 |
"get": { |
| 189 |
"description": "Retrieves a resource containing information about a cloud location.", |
| 190 |
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cloudLocations/{cloudLocationsId}", |
| 191 |
"httpMethod": "GET", |
| 192 |
"id": "cloudlocationfinder.projects.locations.cloudLocations.get", |
| 193 |
"parameterOrder": [ |
| 194 |
"name" |
| 195 |
], |
| 196 |
"parameters": { |
| 197 |
"name": { |
| 198 |
"description": "Required. Name of the resource.", |
| 199 |
"location": "path", |
| 200 |
"pattern": "^projects/[^/]+/locations/[^/]+/cloudLocations/[^/]+$", |
| 201 |
"required": true, |
| 202 |
"type": "string" |
| 203 |
} |
| 204 |
}, |
| 205 |
"path": "v1/{+name}", |
| 206 |
"response": { |
| 207 |
"$ref": "CloudLocation" |
| 208 |
}, |
| 209 |
"scopes": [ |
| 210 |
"https://www.googleapis.com/auth/cloud-platform" |
| 211 |
] |
| 212 |
}, |
| 213 |
"list": { |
| 214 |
"description": "Lists cloud locations under a given project and location.", |
| 215 |
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cloudLocations", |
| 216 |
"httpMethod": "GET", |
| 217 |
"id": "cloudlocationfinder.projects.locations.cloudLocations.list", |
| 218 |
"parameterOrder": [ |
| 219 |
"parent" |
| 220 |
], |
| 221 |
"parameters": { |
| 222 |
"filter": { |
| 223 |
"description": "Optional. A filter expression that filters resources listed in the response. The expression is in the form of field=value. For example, 'cloud_location_type=CLOUD_LOCATION_TYPE_REGION'. Multiple filter queries are space-separated. For example, 'cloud_location_type=CLOUD_LOCATION_TYPE_REGION territory_code=\"US\"' By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly.", |
| 224 |
"location": "query", |
| 225 |
"type": "string" |
| 226 |
}, |
| 227 |
"pageSize": { |
| 228 |
"description": "Optional. The maximum number of cloud locations to return per page. The service might return fewer cloud locations than this value. If unspecified, server will pick an appropriate default.", |
| 229 |
"format": "int32", |
| 230 |
"location": "query", |
| 231 |
"type": "integer" |
| 232 |
}, |
| 233 |
"pageToken": { |
| 234 |
"description": "Optional. A token identifying a page of results the server should return. Provide page token returned by a previous 'ListCloudLocations' call to retrieve the next page of results. When paginating, all other parameters provided to 'ListCloudLocations' must match the call that provided the page token.", |
| 235 |
"location": "query", |
| 236 |
"type": "string" |
| 237 |
}, |
| 238 |
"parent": { |
| 239 |
"description": "Required. The parent, which owns this collection of cloud locations. Format: projects/{project}/locations/{location}", |
| 240 |
"location": "path", |
| 241 |
"pattern": "^projects/[^/]+/locations/[^/]+$", |
| 242 |
"required": true, |
| 243 |
"type": "string" |
| 244 |
} |
| 245 |
}, |
| 246 |
"path": "v1/{+parent}/cloudLocations", |
| 247 |
"response": { |
| 248 |
"$ref": "ListCloudLocationsResponse" |
| 249 |
}, |
| 250 |
"scopes": [ |
| 251 |
"https://www.googleapis.com/auth/cloud-platform" |
| 252 |
] |
| 253 |
}, |
| 254 |
"search": { |
| 255 |
"description": "Searches for cloud locations from a given source location.", |
| 256 |
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/cloudLocations:search", |
| 257 |
"httpMethod": "GET", |
| 258 |
"id": "cloudlocationfinder.projects.locations.cloudLocations.search", |
| 259 |
"parameterOrder": [ |
| 260 |
"parent" |
| 261 |
], |
| 262 |
"parameters": { |
| 263 |
"pageSize": { |
| 264 |
"description": "Optional. The maximum number of cloud locations to return. The service might return fewer cloud locations than this value. If unspecified, server will pick an appropriate default.", |
| 265 |
"format": "int32", |
| 266 |
"location": "query", |
| 267 |
"type": "integer" |
| 268 |
}, |
| 269 |
"pageToken": { |
| 270 |
"description": "Optional. A token identifying a page of results the server should return. Provide Page token returned by a previous 'ListCloudLocations' call to retrieve the next page of results. When paginating, all other parameters provided to 'ListCloudLocations' must match the call that provided the page token.", |
| 271 |
"location": "query", |
| 272 |
"type": "string" |
| 273 |
}, |
| 274 |
"parent": { |
| 275 |
"description": "Required. The parent, which owns this collection of cloud locations. Format: projects/{project}/locations/{location}", |
| 276 |
"location": "path", |
| 277 |
"pattern": "^projects/[^/]+/locations/[^/]+$", |
| 278 |
"required": true, |
| 279 |
"type": "string" |
| 280 |
}, |
| 281 |
"query": { |
| 282 |
"description": "Optional. The query string in search query syntax. While filter is used to filter the search results by attributes, query is used to specify the search requirements.", |
| 283 |
"location": "query", |
| 284 |
"type": "string" |
| 285 |
}, |
| 286 |
"sourceCloudLocation": { |
| 287 |
"description": "Required. The source cloud location to search from. Example search can be searching nearby cloud locations from the source cloud location by latency.", |
| 288 |
"location": "query", |
| 289 |
"type": "string" |
| 290 |
} |
| 291 |
}, |
| 292 |
"path": "v1/{+parent}/cloudLocations:search", |
| 293 |
"response": { |
| 294 |
"$ref": "SearchCloudLocationsResponse" |
| 295 |
}, |
| 296 |
"scopes": [ |
| 297 |
"https://www.googleapis.com/auth/cloud-platform" |
| 298 |
] |
| 299 |
} |
| 300 |
} |
| 301 |
} |
| 302 |
} |
| 303 |
} |
| 304 |
} |
| 305 |
} |
| 306 |
}, |
| 307 |
"revision": "20260527", |
| 308 |
"rootUrl": "https://cloudlocationfinder.googleapis.com/", |
| 309 |
"schemas": { |
| 310 |
"CloudLocation": { |
| 311 |
"description": "Represents resource cloud locations.", |
| 312 |
"id": "CloudLocation", |
| 313 |
"properties": { |
| 314 |
"carbonFreeEnergyPercentage": { |
| 315 |
"description": "Optional. The carbon free energy percentage of the cloud location. This represents the average percentage of time customers' application will be running on carbon-free energy. See https://cloud.google.com/sustainability/region-carbon for more details. There is a difference between default value 0 and unset value. 0 means the carbon free energy percentage is 0%, while unset value means the carbon footprint data is not available.", |
| 316 |
"format": "float", |
| 317 |
"type": "number" |
| 318 |
}, |
| 319 |
"cloudLocationType": { |
| 320 |
"description": "Optional. The type of the cloud location.", |
| 321 |
"enum": [ |
| 322 |
"CLOUD_LOCATION_TYPE_UNSPECIFIED", |
| 323 |
"CLOUD_LOCATION_TYPE_REGION", |
| 324 |
"CLOUD_LOCATION_TYPE_ZONE", |
| 325 |
"CLOUD_LOCATION_TYPE_GDCC_ZONE" |
| 326 |
], |
| 327 |
"enumDescriptions": [ |
| 328 |
"Unspecified type.", |
| 329 |
"CloudLocation type for region.", |
| 330 |
"CloudLocation type for zone.", |
| 331 |
"CloudLocation type for Google Distributed Cloud Connected Zone." |
| 332 |
], |
| 333 |
"type": "string" |
| 334 |
}, |
| 335 |
"cloudProvider": { |
| 336 |
"description": "Optional. The provider of the cloud location. Values can be Google Cloud or third-party providers, including AWS, Azure, or Oracle Cloud Infrastructure.", |
| 337 |
"enum": [ |
| 338 |
"CLOUD_PROVIDER_UNSPECIFIED", |
| 339 |
"CLOUD_PROVIDER_GCP", |
| 340 |
"CLOUD_PROVIDER_AWS", |
| 341 |
"CLOUD_PROVIDER_AZURE", |
| 342 |
"CLOUD_PROVIDER_OCI" |
| 343 |
], |
| 344 |
"enumDescriptions": [ |
| 345 |
"Unspecified type.", |
| 346 |
"Cloud provider type for Google Cloud.", |
| 347 |
"Cloud provider type for AWS.", |
| 348 |
"Cloud provider type for Azure.", |
| 349 |
"Cloud provider type for OCI." |
| 350 |
], |
| 351 |
"type": "string" |
| 352 |
}, |
| 353 |
"containingCloudLocation": { |
| 354 |
"description": "Output only. The containing cloud location in the strict nesting hierarchy. For example, the containing cloud location of a zone is a region.", |
| 355 |
"readOnly": true, |
| 356 |
"type": "string" |
| 357 |
}, |
| 358 |
"displayName": { |
| 359 |
"description": "Optional. The human-readable name of the cloud location. Example: us-east-2, us-east1.", |
| 360 |
"type": "string" |
| 361 |
}, |
| 362 |
"name": { |
| 363 |
"description": "Identifier. Name of the cloud location. Unique name of the cloud location including project and location using the form: `projects/{project_id}/locations/{location}/cloudLocations/{cloud_location}`", |
| 364 |
"type": "string" |
| 365 |
}, |
| 366 |
"territoryCode": { |
| 367 |
"description": "Optional. The two-letter ISO 3166-1 alpha-2 code of the cloud location. Examples: US, JP, KR.", |
| 368 |
"type": "string" |
| 369 |
} |
| 370 |
}, |
| 371 |
"type": "object" |
| 372 |
}, |
| 373 |
"ListCloudLocationsResponse": { |
| 374 |
"description": "Message for response to listing cloud locations.", |
| 375 |
"id": "ListCloudLocationsResponse", |
| 376 |
"properties": { |
| 377 |
"cloudLocations": { |
| 378 |
"description": "Output only. List of cloud locations.", |
| 379 |
"items": { |
| 380 |
"$ref": "CloudLocation" |
| 381 |
}, |
| 382 |
"readOnly": true, |
| 383 |
"type": "array" |
| 384 |
}, |
| 385 |
"nextPageToken": { |
| 386 |
"description": "Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token in subsequent requests to retrieve the next page. If this field is not present, there are no subsequent results.", |
| 387 |
"readOnly": true, |
| 388 |
"type": "string" |
| 389 |
} |
| 390 |
}, |
| 391 |
"type": "object" |
| 392 |
}, |
| 393 |
"ListLocationsResponse": { |
| 394 |
"description": "The response message for Locations.ListLocations.", |
| 395 |
"id": "ListLocationsResponse", |
| 396 |
"properties": { |
| 397 |
"locations": { |
| 398 |
"description": "A list of locations that matches the specified filter in the request.", |
| 399 |
"items": { |
| 400 |
"$ref": "Location" |
| 401 |
}, |
| 402 |
"type": "array" |
| 403 |
}, |
| 404 |
"nextPageToken": { |
| 405 |
"description": "The standard List next-page token.", |
| 406 |
"type": "string" |
| 407 |
} |
| 408 |
}, |
| 409 |
"type": "object" |
| 410 |
}, |
| 411 |
"Location": { |
| 412 |
"description": "A resource that represents a Google Cloud location.", |
| 413 |
"id": "Location", |
| 414 |
"properties": { |
| 415 |
"displayName": { |
| 416 |
"description": "The friendly name for this location, typically a nearby city name. For example, \"Tokyo\".", |
| 417 |
"type": "string" |
| 418 |
}, |
| 419 |
"labels": { |
| 420 |
"additionalProperties": { |
| 421 |
"type": "string" |
| 422 |
}, |
| 423 |
"description": "Cross-service attributes for the location. For example {\"cloud.googleapis.com/region\": \"us-east1\"}", |
| 424 |
"type": "object" |
| 425 |
}, |
| 426 |
"locationId": { |
| 427 |
"description": "The canonical id for this location. For example: `\"us-east1\"`.", |
| 428 |
"type": "string" |
| 429 |
}, |
| 430 |
"metadata": { |
| 431 |
"additionalProperties": { |
| 432 |
"description": "Properties of the object. Contains field @type with type URL.", |
| 433 |
"type": "any" |
| 434 |
}, |
| 435 |
"description": "Service-specific metadata. For example the available capacity at the given location.", |
| 436 |
"type": "object" |
| 437 |
}, |
| 438 |
"name": { |
| 439 |
"description": "Resource name for the location, which may vary between implementations. For example: `\"projects/example-project/locations/us-east1\"`", |
| 440 |
"type": "string" |
| 441 |
} |
| 442 |
}, |
| 443 |
"type": "object" |
| 444 |
}, |
| 445 |
"SearchCloudLocationsResponse": { |
| 446 |
"description": "Message for response to searching cloud locations.", |
| 447 |
"id": "SearchCloudLocationsResponse", |
| 448 |
"properties": { |
| 449 |
"cloudLocations": { |
| 450 |
"description": "Output only. List of cloud locations.", |
| 451 |
"items": { |
| 452 |
"$ref": "CloudLocation" |
| 453 |
}, |
| 454 |
"readOnly": true, |
| 455 |
"type": "array" |
| 456 |
}, |
| 457 |
"nextPageToken": { |
| 458 |
"description": "Output only. The continuation token, used to page through large result sets. Provide this value in a subsequent request as page_token in subsequent requests to retrieve the next page. If this field is not present, there are no subsequent results.", |
| 459 |
"readOnly": true, |
| 460 |
"type": "string" |
| 461 |
} |
| 462 |
}, |
| 463 |
"type": "object" |
| 464 |
} |
| 465 |
}, |
| 466 |
"servicePath": "", |
| 467 |
"title": "Cloud Location Finder API", |
| 468 |
"version": "v1", |
| 469 |
"version_module": true |
| 470 |
} |