Gcp/places
@swamp/gcp/placesv2026.08.12.2
01README
Google Cloud places infrastructure models
02Release Notes
- Updated: places
03Models
@swamp/gcp/places/placesv2026.08.12.2places.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials. |
| apiEndpoint? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
fn get(identifier: string)
Get a places
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the places |
fn sync(identifier?: string)
Sync places state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific places by name (e.g. one discovered by list) |
fn autocomplete(includeFutureOpeningBusinesses?: any, includePureServiceAreaBusinesses?: any, includeQueryPredictions?: any, includedPrimaryTypes?: any, includedRegionCodes?: any, input?: any, inputOffset?: any, languageCode?: any, locationBias?: any, locationRestriction?: any, origin?: any, regionCode?: any, sessionToken?: any)
autocomplete
| Argument | Type | Description |
|---|---|---|
| includeFutureOpeningBusinesses? | any | |
| includePureServiceAreaBusinesses? | any | |
| includeQueryPredictions? | any | |
| includedPrimaryTypes? | any | |
| includedRegionCodes? | any | |
| input? | any | |
| inputOffset? | any | |
| languageCode? | any | |
| locationBias? | any | |
| locationRestriction? | any | |
| origin? | any | |
| regionCode? | any | |
| sessionToken? | any |
fn search_nearby(excludedPrimaryTypes?: any, excludedTypes?: any, includeFutureOpeningBusinesses?: any, includedPrimaryTypes?: any, includedTypes?: any, languageCode?: any, locationRestriction?: any, maxResultCount?: any, rankPreference?: any, regionCode?: any, routingParameters?: any)
search nearby
| Argument | Type | Description |
|---|---|---|
| excludedPrimaryTypes? | any | |
| excludedTypes? | any | |
| includeFutureOpeningBusinesses? | any | |
| includedPrimaryTypes? | any | |
| includedTypes? | any | |
| languageCode? | any | |
| locationRestriction? | any | |
| maxResultCount? | any | |
| rankPreference? | any | |
| regionCode? | any | |
| routingParameters? | any |
fn search_text(evOptions?: any, includeFutureOpeningBusinesses?: any, includePureServiceAreaBusinesses?: any, includedType?: any, languageCode?: any, locationBias?: any, locationRestriction?: any, maxResultCount?: any, minRating?: any, openNow?: any, pageSize?: any, pageToken?: any, priceLevels?: any, rankPreference?: any, regionCode?: any, routingParameters?: any, searchAlongRouteParameters?: any, strictTypeFiltering?: any, textQuery?: any)
search text
| Argument | Type | Description |
|---|---|---|
| evOptions? | any | |
| includeFutureOpeningBusinesses? | any | |
| includePureServiceAreaBusinesses? | any | |
| includedType? | any | |
| languageCode? | any | |
| locationBias? | any | |
| locationRestriction? | any | |
| maxResultCount? | any | |
| minRating? | any | |
| openNow? | any | |
| pageSize? | any | |
| pageToken? | any | |
| priceLevels? | any | |
| rankPreference? | any | |
| regionCode? | any | |
| routingParameters? | any | |
| searchAlongRouteParameters? | any | |
| strictTypeFiltering? | any | |
| textQuery? | any |
Resources
state(infinite)— All the information representing a Place.
04Previous Versions
2026.07.31.1
- Updated: places
2026.07.29.1
- Updated: places
2026.07.21.3
- Updated: places
2026.07.20.2
- Updated: places
2026.07.20.1
- Updated: places
2026.07.19.1
- Updated: places
2026.07.18.2
- Updated: places
Added 1, removed 1 models
2026.06.08.2
- Updated: places
2026.06.07.1
- Updated: places
2026.05.26.1
- Updated: places
2026.05.25.1
- Updated: places
2026.05.24.1
- Updated: places
2026.05.21.2
- Updated: places
2026.05.21.1
2026.05.20.1
- Updated: places
2026.05.19.3
2026.05.19.2
2026.05.19.1
- Updated: places
2026.04.23.1
05Stats
A
100 / 100
Downloads
1
Archive size
28.7 KB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels