Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit 489bf6f

Browse files
docs: renamed App and Web to Google Analytics 4 (GA4) in public documentation (#46)
PiperOrigin-RevId: 338527875 Source-Author: Google APIs <noreply@google.com> Source-Date: Thu Oct 22 12:36:23 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 2131e2f755b3c2604e2d08de81a299fd7e377dcd Source-Link: googleapis/googleapis@2131e2f
1 parent e094b15 commit 489bf6f

4 files changed

Lines changed: 23 additions & 23 deletions

File tree

protos/google/analytics/admin/v1alpha/analytics_admin.proto

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ option java_multiple_files = true;
2929
option java_outer_classname = "AnalyticsAdminProto";
3030
option java_package = "com.google.analytics.admin.v1alpha";
3131

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

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

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

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

127-
// Creates an "App+Web" property with the specified location and attributes.
127+
// Creates an "GA4" property with the specified location and attributes.
128128
rpc CreateProperty(CreatePropertyRequest) returns (Property) {
129129
option (google.api.http) = {
130130
post: "/v1alpha/properties"
@@ -143,7 +143,7 @@ service AnalyticsAdminService {
143143
// will be permanently purged.
144144
// https://support.google.com/analytics/answer/6154772
145145
//
146-
// Returns an error if the target is not found, or is not an App+Web Property.
146+
// Returns an error if the target is not found, or is not an GA4 Property.
147147
rpc DeleteProperty(DeletePropertyRequest) returns (google.protobuf.Empty) {
148148
option (google.api.http) = {
149149
delete: "/v1alpha/{name=properties/*}"

protos/google/analytics/admin/v1alpha/resources.proto

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ message Account {
5656
bool deleted = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
5757
}
5858

59-
// A resource message representing a Google Analytics App+Web property.
59+
// A resource message representing a Google Analytics GA4 property.
6060
message Property {
6161
option (google.api.resource) = {
6262
type: "analyticsadmin.googleapis.com/Property"
@@ -354,7 +354,7 @@ message EnhancedMeasurementSettings {
354354
string excluded_domains = 18;
355355
}
356356

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

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

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

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

600-
// A virtual resource representing metadata for an App+Web property.
600+
// A virtual resource representing metadata for an GA4 property.
601601
message PropertySummary {
602602
// Resource name of property referred to by this property summary
603603
// Format: properties/{property_id}

src/v1alpha/analytics_admin_service_client.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import * as gapicConfig from './analytics_admin_service_client_config.json';
3535
const version = require('../../../package.json').version;
3636

3737
/**
38-
* Service Interface for the Analytics Admin API (App+Web).
38+
* Service Interface for the Analytics Admin API (GA4).
3939
* @class
4040
* @memberof v1alpha
4141
*/
@@ -841,10 +841,10 @@ export class AnalyticsAdminServiceClient {
841841
>
842842
): void;
843843
/**
844-
* Lookup for a single "App+Web" Property.
844+
* Lookup for a single "GA4" Property.
845845
*
846846
* Throws "Target not found" if no such property found, if property is not
847-
* of the type "App+Web", or if caller does not have permissions to access it.
847+
* of the type "GA4", or if caller does not have permissions to access it.
848848
*
849849
* @param {Object} request
850850
* The request object that will be sent.
@@ -934,7 +934,7 @@ export class AnalyticsAdminServiceClient {
934934
>
935935
): void;
936936
/**
937-
* Creates an "App+Web" property with the specified location and attributes.
937+
* Creates an "GA4" property with the specified location and attributes.
938938
*
939939
* @param {Object} request
940940
* The request object that will be sent.
@@ -1026,7 +1026,7 @@ export class AnalyticsAdminServiceClient {
10261026
* will be permanently purged.
10271027
* https://support.google.com/analytics/answer/6154772
10281028
*
1029-
* Returns an error if the target is not found, or is not an App+Web Property.
1029+
* Returns an error if the target is not found, or is not an GA4 Property.
10301030
*
10311031
* @param {Object} request
10321032
* The request object that will be sent.
@@ -4252,7 +4252,7 @@ export class AnalyticsAdminServiceClient {
42524252
/**
42534253
* Returns all accounts accessible by the caller.
42544254
*
4255-
* Note that these accounts might not currently have App+Web properties.
4255+
* Note that these accounts might not currently have GA4 properties.
42564256
* Soft-deleted (ie: "trashed") accounts are excluded by default.
42574257
* Returns an empty list if no relevant accounts are found.
42584258
*
@@ -4636,7 +4636,7 @@ export class AnalyticsAdminServiceClient {
46364636
/**
46374637
* Returns child Properties under the specified parent Account.
46384638
*
4639-
* Only "App+Web" properties will be returned.
4639+
* Only "GA4" properties will be returned.
46404640
* Properties will be excluded if the caller does not have access.
46414641
* Soft-deleted (ie: "trashed") properties are excluded by default.
46424642
* Returns an empty list if no relevant properties are found.

synth.metadata

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/nodejs-analytics-admin.git",
7-
"sha": "f55c2bfaacb6203bcb31094c61e71a166b0ddeda"
7+
"sha": "e094b15dfe8389a93a9eb5b6a04afccc72620b2a"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "71088f11302e80aae77751d5a915dd2e8b684ec8",
15-
"internalRef": "336969301"
14+
"sha": "2131e2f755b3c2604e2d08de81a299fd7e377dcd",
15+
"internalRef": "338527875"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)