Skip to main content

Gcp/analyticsadmin

@swamp/gcp/analyticsadminv2026.10.23.1· AGPL-3.0-or-later(was none)· 9d agoBEHAVIORS
01README

Google Cloud analyticsadmin infrastructure models

02Release Notes
  • Updated: accountsummaries, accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
03Behaviors11
@swamp/gcp/analyticsadmin/accountsv2026.10.23.1accounts.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
createTime?stringOutput only. Time when this account was originally created.
deleted?booleanOutput only. Indicates whether this Account is soft-deleted or not. Deleted accounts are excluded from List results unless specifically requested.
displayName?stringRequired. Human-readable display name for this account.
gmpOrganization?stringOutput only. The URI for a Google Marketing Platform organization resource. Only set when this account is connected to a GMP organization. Format: marketingplatformadmin.googleapis.com/organizations/{org_id}
name?stringIdentifier. Resource name of this account. Format: accounts/{account} Example: "accounts/100"
regionCode?stringCountry of business. Must be a Unicode CLDR region code.
updateTime?stringOutput only. Time when account payload fields were last updated.
fn get(identifier: string)
Get a accounts
ArgumentTypeDescription
identifierstringThe name of the accounts
fn update(identifier?: string)
Update accounts attributes
ArgumentTypeDescription
identifier?stringTarget a specific accounts by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the accounts
ArgumentTypeDescription
identifierstringThe name of the accounts
fn sync(identifier?: string)
Sync accounts state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific accounts by name (e.g. one discovered by list)
fn list(pageSize?: number, showDeleted?: boolean, maxPages?: number)
List accounts resources
ArgumentTypeDescription
pageSize?numberOptional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
showDeleted?booleanWhether to include soft-deleted (ie: "trashed") Accounts in the results. Accounts can be inspected to determine whether they are deleted or not.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn get_data_sharing_settings()
get data sharing settings
fn provision_account_ticket(account?: any, redirectUri?: any)
provision account ticket
ArgumentTypeDescription
account?any
redirectUri?any
fn run_access_report(dateRanges?: any, dimensionFilter?: any, dimensions?: any, expandGroups?: any, includeAllUsers?: any, limit?: any, metricFilter?: any, metrics?: any, offset?: any, orderBys?: any, returnEntityQuota?: any, timeZone?: any)
run access report
ArgumentTypeDescription
dateRanges?any
dimensionFilter?any
dimensions?any
expandGroups?any
includeAllUsers?any
limit?any
metricFilter?any
metrics?any
offset?any
orderBys?any
returnEntityQuota?any
timeZone?any
fn search_change_history_events(action?: any, actorEmail?: any, earliestChangeTime?: any, latestChangeTime?: any, pageSize?: any, pageToken?: any, property?: any, resourceType?: any)
search change history events
ArgumentTypeDescription
action?any
actorEmail?any
earliestChangeTime?any
latestChangeTime?any
pageSize?any
pageToken?any
property?any
resourceType?any

Resources

state(infinite)— A resource message representing a Google Analytics account.
@swamp/gcp/analyticsadmin/accountsummariesv2026.10.23.1accountsummaries.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
fn get(identifier: string)
Get a accountSummaries
ArgumentTypeDescription
identifierstringThe name of the accountSummaries
fn sync(identifier?: string)
Sync accountSummaries state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific accountSummaries by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List accountSummaries resources
ArgumentTypeDescription
pageSize?numberOptional. The maximum number of AccountSummary resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A virtual resource representing an overview of an account and all its child G...
@swamp/gcp/analyticsadmin/propertiesv2026.10.23.1properties.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
account?stringImmutable. The resource name of the parent account Format: accounts/{account_id} Example: "accounts/123"
currencyCode?stringThe currency type used in reports involving monetary values. Format: https://en.wikipedia.org/wiki/ISO_4217 Examples: "USD", "EUR", "JPY"
displayName?stringRequired. Human-readable display name for this property. The max allowed display name length is 100 UTF-16 code units.
industryCategory?enumIndustry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
name?stringIdentifier. Resource name of this property. Format: properties/{property_id} Example: "properties/1000"
parent?stringImmutable. Resource name of this property\
propertyType?enumImmutable. The property type for this Property resource. When creating a property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be implied.
timeZone?stringRequired. Reporting Time Zone, used as the day boundary for reports, regardless of where the data originates. If the time zone honors DST, Analytics will automatically adjust for the changes. NOTE: Changing the time zone only affects data going forward, and is not applied retroactively. Format: https://www.iana.org/time-zones Example: "America/Los_Angeles"
fn create()
Create a properties
fn get(identifier: string)
Get a properties
ArgumentTypeDescription
identifierstringThe name of the properties
fn update(identifier?: string)
Update properties attributes
ArgumentTypeDescription
identifier?stringTarget a specific properties by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the properties
ArgumentTypeDescription
identifierstringThe name of the properties
fn sync(identifier?: string)
Sync properties state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific properties by name (e.g. one discovered by list)
fn list(filter?: string, pageSize?: number, showDeleted?: boolean, maxPages?: number)
List properties resources
ArgumentTypeDescription
filter?stringRequired. An expression for filtering the results of the request. Fields eligible for filtering are: `parent:`(The resource name of the parent account/property) or `ancestor:`(The resource name of the parent account) or `firebase_project:`(The id or number of the linked firebase project). Some examples of filters: ``` | Filter | Description | |-----------------------------|-------------------------------------------| | parent:accounts/123 | The account with account id: 123. | | parent:properties
pageSize?numberOptional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
showDeleted?booleanWhether to include soft-deleted (ie: "trashed") Properties in the results. Properties can be inspected to determine whether they are deleted or not.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn acknowledge_user_data_collection(acknowledgement?: any)
acknowledge user data collection
ArgumentTypeDescription
acknowledgement?any
fn get_data_retention_settings()
get data retention settings
fn run_access_report(dateRanges?: any, dimensionFilter?: any, dimensions?: any, expandGroups?: any, includeAllUsers?: any, limit?: any, metricFilter?: any, metrics?: any, offset?: any, orderBys?: any, returnEntityQuota?: any, timeZone?: any)
run access report
ArgumentTypeDescription
dateRanges?any
dimensionFilter?any
dimensions?any
expandGroups?any
includeAllUsers?any
limit?any
metricFilter?any
metrics?any
offset?any
orderBys?any
returnEntityQuota?any
timeZone?any
fn update_data_retention_settings(eventDataRetention?: any, name?: any, resetUserDataOnNewActivity?: any, userDataRetention?: any, updateMask?: any)
update data retention settings
ArgumentTypeDescription
eventDataRetention?any
name?any
resetUserDataOnNewActivity?any
userDataRetention?any
updateMask?any

Resources

state(infinite)— A resource message representing a Google Analytics property.
@swamp/gcp/analyticsadmin/properties-conversioneventsv2026.10.23.1properties_conversionevents.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
countingMethod?enumOptional. The method by which conversions will be counted across multiple events within a session. If this value is not provided, it will be set to `ONCE_PER_EVENT`.
defaultConversionValue?objectOptional. Defines a default value/currency for a conversion event.
eventName?stringImmutable. The event name for this conversion event. Examples: 'click', 'purchase'
name?stringIdentifier. Resource name of this conversion event. Format: properties/{property}/conversionEvents/{conversion_event}
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create()
Create a conversionEvents
fn get(identifier: string)
Get a conversionEvents
ArgumentTypeDescription
identifierstringThe name of the conversionEvents
fn update(identifier?: string)
Update conversionEvents attributes
ArgumentTypeDescription
identifier?stringTarget a specific conversionEvents by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the conversionEvents
ArgumentTypeDescription
identifierstringThe name of the conversionEvents
fn sync(identifier?: string)
Sync conversionEvents state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific conversionEvents by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List conversionEvents resources
ArgumentTypeDescription
pageSize?numberOptional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A conversion event in a Google Analytics property.
@swamp/gcp/analyticsadmin/properties-customdimensionsv2026.10.23.1properties_customdimensions.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
description?stringOptional. Description for this custom dimension. Max length of 150 characters.
disallowAdsPersonalization?booleanOptional. If set to true, sets this dimension as NPA and excludes it from ads personalization. This is currently only supported by user-scoped custom dimensions.
displayName?stringRequired. Display name for this custom dimension as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets.
name?stringIdentifier. Resource name for this CustomDimension resource. Format: properties/{property}/customDimensions/{customDimension}
parameterName?stringRequired. Immutable. Tagging parameter name for this custom dimension. If this is a user-scoped dimension, then this is the user property name. If this is an event-scoped dimension, then this is the event parameter name. If this is an item-scoped dimension, then this is the parameter name found in the eCommerce items array. May only contain alphanumeric and underscore characters, starting with a letter. Max length of 24 characters for user-scoped dimensions, 40 characters for event-scoped dimens
scope?enumRequired. Immutable. The scope of this dimension.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create()
Create a customDimensions
fn get(identifier: string)
Get a customDimensions
ArgumentTypeDescription
identifierstringThe name of the customDimensions
fn update(identifier?: string)
Update customDimensions attributes
ArgumentTypeDescription
identifier?stringTarget a specific customDimensions by name (e.g. one discovered by list)
fn sync(identifier?: string)
Sync customDimensions state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific customDimensions by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List customDimensions resources
ArgumentTypeDescription
pageSize?numberOptional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).
maxPages?numberMaximum number of pages to fetch (default: 10)
fn archive()
archive

Resources

state(infinite)— A definition for a CustomDimension.
@swamp/gcp/analyticsadmin/properties-custommetricsv2026.10.23.1properties_custommetrics.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
description?stringOptional. Description for this custom dimension. Max length of 150 characters.
displayName?stringRequired. Display name for this custom metric as shown in the Analytics UI. Max length of 82 characters, alphanumeric plus space and underscore starting with a letter. Legacy system-generated display names may contain square brackets, but updates to this field will never permit square brackets.
measurementUnit?enumRequired. The type for the custom metric's value.
name?stringIdentifier. Resource name for this CustomMetric resource. Format: properties/{property}/customMetrics/{customMetric}
parameterName?stringRequired. Immutable. Tagging name for this custom metric. If this is an event-scoped metric, then this is the event parameter name. May only contain alphanumeric and underscore charactes, starting with a letter. Max length of 40 characters for event-scoped metrics.
restrictedMetricType?arrayOptional. Types of restricted data that this metric may contain. Required for metrics with CURRENCY measurement unit. Must be empty for metrics with a non-CURRENCY measurement unit.
scope?enumRequired. Immutable. The scope of this custom metric.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create()
Create a customMetrics
fn get(identifier: string)
Get a customMetrics
ArgumentTypeDescription
identifierstringThe name of the customMetrics
fn update(identifier?: string)
Update customMetrics attributes
ArgumentTypeDescription
identifier?stringTarget a specific customMetrics by name (e.g. one discovered by list)
fn sync(identifier?: string)
Sync customMetrics state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific customMetrics by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List customMetrics resources
ArgumentTypeDescription
pageSize?numberThe maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).
maxPages?numberMaximum number of pages to fetch (default: 10)
fn archive()
archive

Resources

state(infinite)— A definition for a custom metric.
@swamp/gcp/analyticsadmin/properties-datastreamsv2026.10.23.1properties_datastreams.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
androidAppStreamData?objectData specific to Android app streams. Must be populated if type is ANDROID_APP_DATA_STREAM.
displayName?stringHuman-readable display name for the Data Stream. Required for web data streams. The max allowed display name length is 255 UTF-16 code units.
iosAppStreamData?objectData specific to iOS app streams. Must be populated if type is IOS_APP_DATA_STREAM.
name?stringIdentifier. Resource name of this Data Stream. Format: properties/{property_id}/dataStreams/{stream_id} Example: "properties/1000/dataStreams/2000"
type?enumRequired. Immutable. The type of this DataStream resource.
webStreamData?objectData specific to web streams. Must be populated if type is WEB_DATA_STREAM.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create()
Create a dataStreams
fn get(identifier: string)
Get a dataStreams
ArgumentTypeDescription
identifierstringThe name of the dataStreams
fn update(identifier?: string)
Update dataStreams attributes
ArgumentTypeDescription
identifier?stringTarget a specific dataStreams by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the dataStreams
ArgumentTypeDescription
identifierstringThe name of the dataStreams
fn sync(identifier?: string)
Sync dataStreams state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific dataStreams by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List dataStreams resources
ArgumentTypeDescription
pageSize?numberThe maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A resource message representing a data stream.
@swamp/gcp/analyticsadmin/properties-datastreams-measurementprotocolsecretsv2026.10.23.1properties_datastreams_measurementprotocolsecrets.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
displayName?stringRequired. Human-readable display name for this secret.
name?stringIdentifier. Resource name of this secret. This secret may be a child of any type of stream. Format: properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create()
Create a measurementProtocolSecrets
fn get(identifier: string)
Get a measurementProtocolSecrets
ArgumentTypeDescription
identifierstringThe name of the measurementProtocolSecrets
fn update(identifier?: string)
Update measurementProtocolSecrets attributes
ArgumentTypeDescription
identifier?stringTarget a specific measurementProtocolSecrets by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the measurementProtocolSecrets
ArgumentTypeDescription
identifierstringThe name of the measurementProtocolSecrets
fn sync(identifier?: string)
Sync measurementProtocolSecrets state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific measurementProtocolSecrets by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List measurementProtocolSecrets resources
ArgumentTypeDescription
pageSize?numberOptional. The maximum number of resources to return. If unspecified, at most 10 resources will be returned. The maximum value is 10. Higher values will be coerced to the maximum.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A secret value used for sending hits to Measurement Protocol.
@swamp/gcp/analyticsadmin/properties-firebaselinksv2026.10.23.1properties_firebaselinks.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
name?stringIdentifier. Example format: properties/1234/firebaseLinks/5678
project?stringImmutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name that contains a project number. Format: 'projects/{project number}' Example: 'projects/1234'
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create()
Create a firebaseLinks
fn get(identifier: string)
Get a firebaseLinks
ArgumentTypeDescription
identifierstringThe name of the firebaseLinks
fn delete(identifier: string)
Delete the firebaseLinks
ArgumentTypeDescription
identifierstringThe name of the firebaseLinks
fn sync(identifier?: string)
Sync firebaseLinks state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific firebaseLinks by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List firebaseLinks resources
ArgumentTypeDescription
pageSize?numberOptional. The maximum number of resources to return. The service may return fewer than this value, even if there are additional pages. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A link between a Google Analytics property and a Firebase project.
@swamp/gcp/analyticsadmin/properties-googleadslinksv2026.10.23.1properties_googleadslinks.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
adsPersonalizationEnabled?booleanEnable personalized advertising features with this integration. Automatically publish my Google Analytics audience lists and Google Analytics remarketing events/parameters to the linked Google Ads account. If this field is not set on create/update, it will be defaulted to true.
customerId?stringImmutable. Google Ads customer ID.
name?stringIdentifier. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} Note: googleAdsLinkId is not the Google Ads customer ID.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create()
Create a googleAdsLinks
fn get(identifier: string)
Get a googleAdsLinks
ArgumentTypeDescription
identifierstringThe name of the googleAdsLinks
fn update(identifier?: string)
Update googleAdsLinks attributes
ArgumentTypeDescription
identifier?stringTarget a specific googleAdsLinks by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the googleAdsLinks
ArgumentTypeDescription
identifierstringThe name of the googleAdsLinks
fn sync(identifier?: string)
Sync googleAdsLinks state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific googleAdsLinks by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List googleAdsLinks resources
ArgumentTypeDescription
pageSize?numberOptional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200 (higher values will be coerced to the maximum).
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A link between a Google Analytics property and a Google Ads account.
@swamp/gcp/analyticsadmin/properties-keyeventsv2026.10.23.1properties_keyevents.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP 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?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
countingMethod?enumRequired. The method by which Key Events will be counted across multiple events within a session.
defaultValue?objectOptional. Defines a default value/currency for a key event.
eventName?stringImmutable. The event name for this key event. Examples: 'click', 'purchase'
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create()
Create a keyEvents
fn get(identifier: string)
Get a keyEvents
ArgumentTypeDescription
identifierstringThe name of the keyEvents
fn update(identifier?: string)
Update keyEvents attributes
ArgumentTypeDescription
identifier?stringTarget a specific keyEvents by name (e.g. one discovered by list)
fn delete(identifier: string)
Delete the keyEvents
ArgumentTypeDescription
identifierstringThe name of the keyEvents
fn sync(identifier?: string)
Sync keyEvents state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific keyEvents by name (e.g. one discovered by list)
fn list(pageSize?: number, maxPages?: number)
List keyEvents resources
ArgumentTypeDescription
pageSize?numberOptional. The maximum number of resources to return. If unspecified, at most 50 resources will be returned. The maximum value is 200; (higher values will be coerced to the maximum)
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— A key event in a Google Analytics property.
04Previous Versions19
2026.10.13.1
  • Updated: accountsummaries, accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
2026.10.06.1
  • Updated: accounts, properties, properties_googleadslinks
2026.09.07.1
  • Updated: properties
2026.08.12.2
  • Updated: accountsummaries, accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
2026.07.29.1
  • Updated: accountsummaries, accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
2026.07.21.4
  • Updated: accountsummaries, accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
2026.07.21.1
  • Updated: properties_conversionevents, properties_datastreams, properties_keyevents
2026.07.20.2
  • Updated: accountsummaries, accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
2026.07.20.1
  • Updated: accountsummaries, accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
2026.07.19.1
  • Updated: accountsummaries, accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
2026.07.18.1
  • Updated: accountsummaries, accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
2026.07.17.2
  • Updated: accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
2026.07.17.1
  • Updated: properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_keyevents
2026.07.13.1
  • Updated: properties_firebaselinks
2026.06.09.1
  • Updated: accountsummaries
2026.06.08.2
  • Updated: accountsummaries, accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
2026.06.07.1
  • Updated: accountsummaries, accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
2026.05.26.1
  • Updated: accountsummaries, accounts, properties, properties_conversionevents, properties_customdimensions, properties_custommetrics, properties_datastreams, properties_datastreams_measurementprotocolsecrets, properties_firebaselinks, properties_googleadslinks, properties_keyevents
2026.05.25.2
  • Updated: accountsummaries, accounts, properties

Modified 11 behaviors

05Stats
A
100 / 100
Downloads
35
Archive size
105.6 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
  • Docs keep secrets in a vault1/1earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License2/2earned
  • Verified public repository2/2earned
06Platforms
07Labels