Skip to content

Commit 7de4a72

Browse files
fix!: remove the SetAutomatedGa4ConfigurationOptOut method (#8532)
fix!: remove the `FetchAutomatedGa4ConfigurationOptOut` method fix!: remove the `CreateConnectedSiteTag` method fix!: remove the `DeleteConnectedSiteTag` method fix!: remove the `ListConnectedSiteTags` method fix!: remove the `FetchConnectedGa4Property` method feat: add the `GetReportingIdentitySettings` method fix!: remove the `SetAutomatedGa4ConfigurationOptOutRequest` resource fix!: remove the `SetAutomatedGa4ConfigurationOptOutResponse` resource fix!: remove the `FetchAutomatedGa4ConfigurationOptOutRequest` resource fix!: remove the `FetchAutomatedGa4ConfigurationOptOutResponse` resource fix!: remove the `CreateConnectedSiteTagRequest` resource fix!: remove the `CreateConnectedSiteTagResponse` resource fix!: remove the `DeleteConnectedSiteTagRequest` resource fix!: remove the `ListConnectedSiteTagsRequest` resource fix!: remove the `ListConnectedSiteTagsResponse` resource fix!: remove the `FetchConnectedGa4PropertyRequest` resource fix!: remove the `FetchConnectedGa4PropertyResponse` resource docs: provide additional guidelines for the `user_provided_data` field in the `SubmitUserDeletionRequest` resource feat: add the `GetReportingIdentitySettingsRequest` resource feat: add the `REPORTING_IDENTITY_SETTINGS` resource type to the `ChangeHistoryResourceType` enum feat: add reporting_identity_settings` fields to the `ChangeHistoryResource` resource fix!: remove the `ConnectedSiteTag` resource feat: add the `ReportingIdentitySettings` resource PiperOrigin-RevId: 796959165 Source-Link: googleapis/googleapis@2032c33 Source-Link: googleapis/googleapis-gen@1ecb16c Copy-Tag: eyJwIjoiQW5hbHl0aWNzQWRtaW4vLk93bEJvdC55YW1sIiwiaCI6IjFlY2IxNmNlZDQ1ODVjYzFlNWRjMjYzNGRlOWZhZTg2YjgxM2JlYjIifQ==
1 parent 50ee998 commit 7de4a72

22 files changed

Lines changed: 623 additions & 808 deletions

AnalyticsAdmin/metadata/V1Alpha/AnalyticsAdmin.php

Lines changed: 12 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
497 Bytes
Binary file not shown.
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
<?php
2+
/*
3+
* Copyright 2025 Google LLC
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* https://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
/*
19+
* GENERATED CODE WARNING
20+
* This file was automatically generated - do not edit!
21+
*/
22+
23+
require_once __DIR__ . '/../../../vendor/autoload.php';
24+
25+
// [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetReportingIdentitySettings_sync]
26+
use Google\Analytics\Admin\V1alpha\Client\AnalyticsAdminServiceClient;
27+
use Google\Analytics\Admin\V1alpha\GetReportingIdentitySettingsRequest;
28+
use Google\Analytics\Admin\V1alpha\ReportingIdentitySettings;
29+
use Google\ApiCore\ApiException;
30+
31+
/**
32+
* Returns the singleton data retention settings for this property.
33+
*
34+
* @param string $formattedName The name of the settings to lookup.
35+
* Format:
36+
* properties/{property}/reportingIdentitySettings
37+
* Example: "properties/1000/reportingIdentitySettings"
38+
* Please see {@see AnalyticsAdminServiceClient::reportingIdentitySettingsName()} for help formatting this field.
39+
*/
40+
function get_reporting_identity_settings_sample(string $formattedName): void
41+
{
42+
// Create a client.
43+
$analyticsAdminServiceClient = new AnalyticsAdminServiceClient();
44+
45+
// Prepare the request message.
46+
$request = (new GetReportingIdentitySettingsRequest())
47+
->setName($formattedName);
48+
49+
// Call the API and handle any network failures.
50+
try {
51+
/** @var ReportingIdentitySettings $response */
52+
$response = $analyticsAdminServiceClient->getReportingIdentitySettings($request);
53+
printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString());
54+
} catch (ApiException $ex) {
55+
printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage());
56+
}
57+
}
58+
59+
/**
60+
* Helper to execute the sample.
61+
*
62+
* This sample has been automatically generated and should be regarded as a code
63+
* template only. It will require modifications to work:
64+
* - It may require correct/in-range values for request initialization.
65+
* - It may require specifying regional endpoints when creating the service client,
66+
* please see the apiEndpoint client configuration option for more details.
67+
*/
68+
function callSample(): void
69+
{
70+
$formattedName = AnalyticsAdminServiceClient::reportingIdentitySettingsName('[PROPERTY]');
71+
72+
get_reporting_identity_settings_sample($formattedName);
73+
}
74+
// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetReportingIdentitySettings_sync]

AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_subproperty_sync_config.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 Subproperty Sync Config.
32+
* Lookup for a single `SubpropertySyncConfig`.
3333
*
3434
* @param string $formattedName Resource name of the SubpropertySyncConfig to lookup.
3535
* Format:

AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_subproperty_sync_configs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
use Google\ApiCore\PagedListResponse;
3131

3232
/**
33-
* List all Subproperty Sync Configs on a property.
33+
* List all `SubpropertySyncConfig` resources for a property.
3434
*
3535
* @param string $formattedParent Resource name of the property.
3636
* Format: properties/property_id

AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_subproperty_sync_config.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
use Google\ApiCore\ApiException;
3131

3232
/**
33-
* Updates a Subproperty Sync Config.
33+
* Updates a `SubpropertySyncConfig`.
3434
*
3535
* @param int $subpropertySyncConfigCustomDimensionAndMetricSyncMode Specifies the Custom Dimension / Metric synchronization mode for
36-
* the Subproperty.
36+
* the subproperty.
3737
*
3838
* If set to ALL, Custom Dimension / Metric synchronization will be
3939
* immediately enabled. Local configuration of Custom Dimensions / Metrics
40-
* will not be allowed on the Subproperty so long as the synchronization mode
40+
* will not be allowed on the subproperty so long as the synchronization mode
4141
* is set to ALL.
4242
*
4343
* If set to NONE, Custom Dimensions / Metric synchronization is disabled.

AnalyticsAdmin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

AnalyticsAdmin/src/V1alpha/ChangeHistoryResourceType.php

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)