Skip to content

Commit f945842

Browse files
docs: replace "GA4" with "Google Analytics" or "GA" in all comments (#8055)
feat: add `user_data_retention` field to `DataRetentionSettings` and mark as `REQUIRED` fix: mark `event_data_retention` field in `DataRetentionSettings` as `REQUIRED` PiperOrigin-RevId: 720655692 Source-Link: googleapis/googleapis@f20edbd Source-Link: googleapis/googleapis-gen@ed0f0d6 Copy-Tag: eyJwIjoiQW5hbHl0aWNzQWRtaW4vLk93bEJvdC55YW1sIiwiaCI6ImVkMGYwZDZkZGRjNzJkMzFiMjk4N2Y4MGJhMTNkNzNjYjYyODBhN2MifQ== * docs: replace "GA4" with "Google Analytics" or "GA" in all comments feat: add `user_data_retention` field to `DataRetentionSettings` and mark as `REQUIRED` fix: mark `event_data_retention` field in `DataRetentionSettings` as `REQUIRED` PiperOrigin-RevId: 720657164 Source-Link: googleapis/googleapis@89a0f8e Source-Link: googleapis/googleapis-gen@ff322a9 Copy-Tag: eyJwIjoiQW5hbHl0aWNzQWRtaW4vLk93bEJvdC55YW1sIiwiaCI6ImZmMzIyYTkyOWRlYzc2YjQwYzBiZWEzYWZmNzA3NDFhMWM1ZDE5NTAifQ==
1 parent d19f3cf commit f945842

54 files changed

Lines changed: 457 additions & 247 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
112 Bytes
Binary file not shown.
152 Bytes
Binary file not shown.

AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
use Google\ApiCore\ApiException;
3030

3131
/**
32-
* Creates an "GA4" property with the specified location and attributes.
32+
* Creates a Google Analytics property with the specified location and
33+
* attributes.
3334
*
3435
* @param string $propertyDisplayName Human-readable display name for this property.
3536
*

AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* will be permanently purged.
4040
* https://support.google.com/analytics/answer/6154772
4141
*
42-
* Returns an error if the target is not found, or is not a GA4 Property.
42+
* Returns an error if the target is not found.
4343
*
4444
* @param string $formattedName The name of the Property to soft-delete.
4545
* Format: properties/{property_id}

AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_measurement_protocol_secret.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
use Google\ApiCore\ApiException;
3030

3131
/**
32-
* Lookup for a single "GA4" MeasurementProtocolSecret.
32+
* Lookup for a single MeasurementProtocolSecret.
3333
*
3434
* @param string $formattedName The name of the measurement protocol secret to lookup.
3535
* Format:

AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_property.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
use Google\ApiCore\ApiException;
3030

3131
/**
32-
* Lookup for a single "GA4" Property.
32+
* Lookup for a single GA Property.
3333
*
3434
* @param string $formattedName The name of the property to lookup.
3535
* Format: properties/{property_id}

AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_accounts.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
/**
3333
* Returns all accounts accessible by the caller.
3434
*
35-
* Note that these accounts might not currently have GA4 properties.
35+
* Note that these accounts might not currently have GA properties.
3636
* Soft-deleted (ie: "trashed") accounts are excluded by default.
3737
* Returns an empty list if no relevant accounts are found.
3838
*

AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_properties.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
/**
3333
* Returns child Properties under the specified parent Account.
3434
*
35-
* Only "GA4" properties will be returned.
3635
* Properties will be excluded if the caller does not have access.
3736
* Soft-deleted (ie: "trashed") properties are excluded by default.
3837
* Returns an empty list if no relevant properties are found.

AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/run_access_report.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,18 @@
3838
* only be requested on Google Analytics 360 properties. This method is only
3939
* available to Administrators.
4040
*
41-
* These data access records include GA4 UI Reporting, GA4 UI Explorations,
42-
* GA4 Data API, and other products like Firebase & Admob that can retrieve
41+
* These data access records include GA UI Reporting, GA UI Explorations,
42+
* GA Data API, and other products like Firebase & Admob that can retrieve
4343
* data from Google Analytics through a linkage. These records don't include
4444
* property configuration changes like adding a stream or changing a
4545
* property's time zone. For configuration change history, see
4646
* [searchChangeHistoryEvents](https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/accounts/searchChangeHistoryEvents).
4747
*
48+
* To give your feedback on this API, complete the [Google Analytics Access
49+
* Reports
50+
* feedback](https://docs.google.com/forms/d/e/1FAIpQLSdmEBUrMzAEdiEKk5TV5dEHvDUZDRlgWYdQdAeSdtR4hVjEhw/viewform)
51+
* form.
52+
*
4853
* This sample has been automatically generated and should be regarded as a code
4954
* template only. It will require modifications to work:
5055
* - It may require correct/in-range values for request initialization.

AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
* Searches through all changes to an account or its children given the
3434
* specified set of filters.
3535
*
36+
* Only returns the subset of changes supported by the API. The UI may return
37+
* additional changes.
38+
*
3639
* @param string $formattedAccount The account resource for which to return change history
3740
* resources. Format: accounts/{account}
3841
*

0 commit comments

Comments
 (0)