Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions protos/google/analytics/admin/v1alpha/analytics_admin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ option java_multiple_files = true;
option java_outer_classname = "AnalyticsAdminProto";
option java_package = "com.google.analytics.admin.v1alpha";

// Service Interface for the Analytics Admin API (App+Web).
// Service Interface for the Analytics Admin API (GA4).
service AnalyticsAdminService {
option (google.api.default_host) = "analyticsadmin.googleapis.com";
option (google.api.oauth_scopes) =
Expand All @@ -50,7 +50,7 @@ service AnalyticsAdminService {

// Returns all accounts accessible by the caller.
//
// Note that these accounts might not currently have App+Web properties.
// Note that these accounts might not currently have GA4 properties.
// Soft-deleted (ie: "trashed") accounts are excluded by default.
// Returns an empty list if no relevant accounts are found.
rpc ListAccounts(ListAccountsRequest) returns (ListAccountsResponse) {
Expand Down Expand Up @@ -101,10 +101,10 @@ service AnalyticsAdminService {
};
}

// Lookup for a single "App+Web" Property.
// Lookup for a single "GA4" Property.
//
// Throws "Target not found" if no such property found, if property is not
// of the type "App+Web", or if caller does not have permissions to access it.
// of the type "GA4", or if caller does not have permissions to access it.
rpc GetProperty(GetPropertyRequest) returns (Property) {
option (google.api.http) = {
get: "/v1alpha/{name=properties/*}"
Expand All @@ -114,7 +114,7 @@ service AnalyticsAdminService {

// Returns child Properties under the specified parent Account.
//
// Only "App+Web" properties will be returned.
// Only "GA4" properties will be returned.
// Properties will be excluded if the caller does not have access.
// Soft-deleted (ie: "trashed") properties are excluded by default.
// Returns an empty list if no relevant properties are found.
Expand All @@ -124,7 +124,7 @@ service AnalyticsAdminService {
};
}

// Creates an "App+Web" property with the specified location and attributes.
// Creates an "GA4" property with the specified location and attributes.
rpc CreateProperty(CreatePropertyRequest) returns (Property) {
option (google.api.http) = {
post: "/v1alpha/properties"
Expand All @@ -143,7 +143,7 @@ service AnalyticsAdminService {
// will be permanently purged.
// https://support.google.com/analytics/answer/6154772
//
// Returns an error if the target is not found, or is not an App+Web Property.
// Returns an error if the target is not found, or is not an GA4 Property.
rpc DeleteProperty(DeletePropertyRequest) returns (google.protobuf.Empty) {
option (google.api.http) = {
delete: "/v1alpha/{name=properties/*}"
Expand Down
12 changes: 6 additions & 6 deletions protos/google/analytics/admin/v1alpha/resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ message Account {
bool deleted = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// A resource message representing a Google Analytics App+Web property.
// A resource message representing a Google Analytics GA4 property.
message Property {
option (google.api.resource) = {
type: "analyticsadmin.googleapis.com/Property"
Expand Down Expand Up @@ -354,7 +354,7 @@ message EnhancedMeasurementSettings {
string excluded_domains = 18;
}

// A link between an App+Web property and a Firebase project.
// A link between an GA4 property and a Firebase project.
message FirebaseLink {
option (google.api.resource) = {
type: "analyticsadmin.googleapis.com/FirebaseLink"
Expand All @@ -376,7 +376,7 @@ message FirebaseLink {
// Output only. Time when this FirebaseLink was originally created.
google.protobuf.Timestamp create_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];

// Maximum user access to the App + Web property allowed to admins of
// Maximum user access to the GA4 property allowed to admins of
// the linked Firebase project.
MaximumUserAccess maximum_user_access = 4;
}
Expand All @@ -394,7 +394,7 @@ message GlobalSiteTag {
string snippet = 1 [(google.api.field_behavior) = IMMUTABLE];
}

// A link between an App+Web property and a Google Ads account.
// A link between an GA4 property and a Google Ads account.
message GoogleAdsLink {
option (google.api.resource) = {
type: "analyticsadmin.googleapis.com/GoogleAdsLink"
Expand Down Expand Up @@ -571,7 +571,7 @@ enum MaximumUserAccess {
}

// A virtual resource representing an overview of an account and
// all its child App+Web properties.
// all its child GA4 properties.
message AccountSummary {
option (google.api.resource) = {
type: "analyticsadmin.googleapis.com/AccountSummary"
Expand All @@ -597,7 +597,7 @@ message AccountSummary {
repeated PropertySummary property_summaries = 4;
}

// A virtual resource representing metadata for an App+Web property.
// A virtual resource representing metadata for an GA4 property.
message PropertySummary {
// Resource name of property referred to by this property summary
// Format: properties/{property_id}
Expand Down
14 changes: 7 additions & 7 deletions src/v1alpha/analytics_admin_service_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import * as gapicConfig from './analytics_admin_service_client_config.json';
const version = require('../../../package.json').version;

/**
* Service Interface for the Analytics Admin API (App+Web).
* Service Interface for the Analytics Admin API (GA4).
* @class
* @memberof v1alpha
*/
Expand Down Expand Up @@ -841,10 +841,10 @@ export class AnalyticsAdminServiceClient {
>
): void;
/**
* Lookup for a single "App+Web" Property.
* Lookup for a single "GA4" Property.
*
* Throws "Target not found" if no such property found, if property is not
* of the type "App+Web", or if caller does not have permissions to access it.
* of the type "GA4", or if caller does not have permissions to access it.
*
* @param {Object} request
* The request object that will be sent.
Expand Down Expand Up @@ -934,7 +934,7 @@ export class AnalyticsAdminServiceClient {
>
): void;
/**
* Creates an "App+Web" property with the specified location and attributes.
* Creates an "GA4" property with the specified location and attributes.
*
* @param {Object} request
* The request object that will be sent.
Expand Down Expand Up @@ -1026,7 +1026,7 @@ export class AnalyticsAdminServiceClient {
* will be permanently purged.
* https://support.google.com/analytics/answer/6154772
*
* Returns an error if the target is not found, or is not an App+Web Property.
* Returns an error if the target is not found, or is not an GA4 Property.
*
* @param {Object} request
* The request object that will be sent.
Expand Down Expand Up @@ -4252,7 +4252,7 @@ export class AnalyticsAdminServiceClient {
/**
* Returns all accounts accessible by the caller.
*
* Note that these accounts might not currently have App+Web properties.
* Note that these accounts might not currently have GA4 properties.
* Soft-deleted (ie: "trashed") accounts are excluded by default.
* Returns an empty list if no relevant accounts are found.
*
Expand Down Expand Up @@ -4636,7 +4636,7 @@ export class AnalyticsAdminServiceClient {
/**
* Returns child Properties under the specified parent Account.
*
* Only "App+Web" properties will be returned.
* Only "GA4" properties will be returned.
* Properties will be excluded if the caller does not have access.
* Soft-deleted (ie: "trashed") properties are excluded by default.
* Returns an empty list if no relevant properties are found.
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-analytics-admin.git",
"sha": "f55c2bfaacb6203bcb31094c61e71a166b0ddeda"
"sha": "e094b15dfe8389a93a9eb5b6a04afccc72620b2a"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "71088f11302e80aae77751d5a915dd2e8b684ec8",
"internalRef": "336969301"
"sha": "2131e2f755b3c2604e2d08de81a299fd7e377dcd",
"internalRef": "338527875"
}
},
{
Expand Down