Skip to main content

@swamp/gcp/mybusinessbusinessinformation

v2026.04.23.1

Google Cloud mybusinessbusinessinformation infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudmybusinessbusinessinformationcloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/mybusinessbusinessinformation

@swamp/gcp/mybusinessbusinessinformation/accountsv2026.04.23.1accounts.ts

Global Arguments

ArgumentTypeDescription
adWordsLocationExtensions?objectAdditional information that is surfaced in AdWords.
categories?objectA collection of categories that describes the business. During updates, both fields must be set. Clients are prohibited from individually updating the primary or additional categories using the update mask.
labels?arrayOptional. A collection of free-form strings to allow you to tag your business. These labels are NOT user facing; only you can see them. Must be between 1-255 characters per label.
languageCode?stringImmutable. The language of the location. Set during creation and not updateable.
latlng?objectAn object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.
metadata?objectAdditional non-user-editable information about the location.
moreHours?arrayOptional. More hours for a business's different departments or specific customers.
name?stringGoogle identifier for this location in the form: `locations/{location_id}`.
openInfo?objectInformation related to the opening state of the business.
phoneNumbers?objectA collection of phone numbers for the business. During updates, both fields must be set. Clients may not update just the primary or additional phone numbers using the update mask. International phone format is preferred, such as "+1 415 555 0132", see more in (https://developers.google.com/style/phone-numbers#international-phone-numbers).
profile?objectAll information pertaining to the location's profile.
regularHours?objectRepresents the time periods that this location is open for business. Holds a collection of TimePeriod instances.
relationshipData?objectInformation of all parent and children locations related to this one.
serviceArea?objectService area businesses provide their service at the customer's location (for example, a locksmith or plumber).
serviceItems?arrayOptional. List of services supported by merchants. A service can be haircut, install water heater, etc. Duplicated service items will be removed automatically.
specialHours?objectRepresents a set of time periods when a location's operational hours differ from its normal business hours.
storeCode?stringOptional. External identifier for this location, which must be unique within a given account. This is a means of associating the location with your own records.
storefrontAddress?objectRepresents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https:
title?stringRequired. Location name should reflect your business\
websiteUri?stringOptional. A URL for this business. If possible, use a URL that represents this individual business location instead of a generic website/URL that represents all locations, or the brand.
requestId?stringOptional. A unique request ID for the server to detect duplicated requests. We recommend using UUIDs. Max length is 50 characters.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
createCreate a accounts
getGet a accounts
ArgumentTypeDescription
identifierstringThe name of the accounts
syncSync accounts state from GCP

Resources

state(infinite)— A location. See the [help center article] (https://support.google.com/busines...
@swamp/gcp/mybusinessbusinessinformation/attributesv2026.04.23.1attributes.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a attributes
ArgumentTypeDescription
identifierstringThe name of the attributes
syncSync attributes state from GCP

Resources

state(infinite)— Metadata for an attribute. Contains display information for the attribute, in...
@swamp/gcp/mybusinessbusinessinformation/categoriesv2026.04.23.1categories.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a categories
ArgumentTypeDescription
identifierstringThe name of the categories
syncSync categories state from GCP
batch_getbatch get

Resources

state(infinite)— A category describing what this business is (not what it does). For a list of...
@swamp/gcp/mybusinessbusinessinformation/chainsv2026.04.23.1chains.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
getGet a chains
ArgumentTypeDescription
identifierstringThe name of the chains
syncSync chains state from GCP
searchsearch

Resources

state(infinite)— A chain is a brand that your business's locations can be affiliated with.
@swamp/gcp/mybusinessbusinessinformation/locationsv2026.04.23.1locations.ts

Global Arguments

ArgumentTypeDescription
adWordsLocationExtensions?objectAdditional information that is surfaced in AdWords.
categories?objectA collection of categories that describes the business. During updates, both fields must be set. Clients are prohibited from individually updating the primary or additional categories using the update mask.
labels?arrayOptional. A collection of free-form strings to allow you to tag your business. These labels are NOT user facing; only you can see them. Must be between 1-255 characters per label.
languageCode?stringImmutable. The language of the location. Set during creation and not updateable.
latlng?objectAn object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.
metadata?objectAdditional non-user-editable information about the location.
moreHours?arrayOptional. More hours for a business's different departments or specific customers.
name?stringGoogle identifier for this location in the form: `locations/{location_id}`.
openInfo?objectInformation related to the opening state of the business.
phoneNumbers?objectA collection of phone numbers for the business. During updates, both fields must be set. Clients may not update just the primary or additional phone numbers using the update mask. International phone format is preferred, such as "+1 415 555 0132", see more in (https://developers.google.com/style/phone-numbers#international-phone-numbers).
profile?objectAll information pertaining to the location's profile.
regularHours?objectRepresents the time periods that this location is open for business. Holds a collection of TimePeriod instances.
relationshipData?objectInformation of all parent and children locations related to this one.
serviceArea?objectService area businesses provide their service at the customer's location (for example, a locksmith or plumber).
serviceItems?arrayOptional. List of services supported by merchants. A service can be haircut, install water heater, etc. Duplicated service items will be removed automatically.
specialHours?objectRepresents a set of time periods when a location's operational hours differ from its normal business hours.
storeCode?stringOptional. External identifier for this location, which must be unique within a given account. This is a means of associating the location with your own records.
storefrontAddress?objectRepresents a postal address, such as for postal delivery or payments addresses. With a postal address, a postal service can deliver items to a premise, P.O. box, or similar. A postal address is not intended to model geographical locations like roads, towns, or mountains. In typical usage, an address would be created by user input or from importing existing data, depending on the type of process. Advice on address input or editing: - Use an internationalization-ready address widget such as https:
title?stringRequired. Location name should reflect your business\
websiteUri?stringOptional. A URL for this business. If possible, use a URL that represents this individual business location instead of a generic website/URL that represents all locations, or the brand.
getGet a locations
ArgumentTypeDescription
identifierstringThe name of the locations
updateUpdate locations attributes
deleteDelete the locations
ArgumentTypeDescription
identifierstringThe name of the locations
syncSync locations state from GCP
get_attributesget attributes
get_google_updatedget google updated
update_attributesupdate attributes
ArgumentTypeDescription
attributes?any
name?any

Resources

state(infinite)— A location. See the [help center article] (https://support.google.com/busines...