From 70fbf2c1aa6203cbc400bdee2adbeac407533575 Mon Sep 17 00:00:00 2001 From: Sofia Leon Date: Thu, 20 Aug 2026 21:25:12 +0000 Subject: [PATCH] chore(AnalyticsAdmin): remove orphaned files from previous proto refactors --- .../audit_user_links.php | 79 ----------- .../batch_create_user_links.php | 86 ------------ .../batch_delete_user_links.php | 78 ----------- .../batch_get_user_links.php | 77 ----------- .../batch_update_user_links.php | 77 ----------- .../create_connected_site_tag.php | 82 ------------ .../create_subproperty.php | 96 -------------- .../create_user_link.php | 73 ----------- .../delete_connected_site_tag.php | 56 -------- .../delete_user_link.php | 64 --------- ...ch_automated_ga4_configuration_opt_out.php | 75 ----------- .../fetch_connected_ga4_property.php | 76 ----------- .../get_user_link.php | 66 ---------- .../list_connected_site_tags.php | 59 --------- .../list_user_links.php | 71 ---------- ...et_automated_ga4_configuration_opt_out.php | 75 ----------- .../update_user_link.php | 56 -------- .../src/V1alpha/ConnectedSiteTag.php | 109 ---------------- .../V1alpha/CreateConnectedSiteTagRequest.php | 123 ------------------ .../CreateConnectedSiteTagResponse.php | 33 ----- .../V1alpha/DeleteConnectedSiteTagRequest.php | 117 ----------------- ...AutomatedGa4ConfigurationOptOutRequest.php | 79 ----------- ...utomatedGa4ConfigurationOptOutResponse.php | 68 ---------- .../FetchConnectedGa4PropertyRequest.php | 83 ------------ .../FetchConnectedGa4PropertyResponse.php | 79 ----------- .../V1alpha/ListConnectedSiteTagsRequest.php | 79 ----------- .../V1alpha/ListConnectedSiteTagsResponse.php | 71 ---------- ...AutomatedGa4ConfigurationOptOutRequest.php | 113 ---------------- ...utomatedGa4ConfigurationOptOutResponse.php | 34 ----- 29 files changed, 2234 deletions(-) delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/audit_user_links.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_user_links.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_user_links.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_get_user_links.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_update_user_links.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_connected_site_tag.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_user_link.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_connected_site_tag.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_user_link.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/fetch_automated_ga4_configuration_opt_out.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/fetch_connected_ga4_property.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_user_link.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_connected_site_tags.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_user_links.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/set_automated_ga4_configuration_opt_out.php delete mode 100644 AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_user_link.php delete mode 100644 AnalyticsAdmin/src/V1alpha/ConnectedSiteTag.php delete mode 100644 AnalyticsAdmin/src/V1alpha/CreateConnectedSiteTagRequest.php delete mode 100644 AnalyticsAdmin/src/V1alpha/CreateConnectedSiteTagResponse.php delete mode 100644 AnalyticsAdmin/src/V1alpha/DeleteConnectedSiteTagRequest.php delete mode 100644 AnalyticsAdmin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.php delete mode 100644 AnalyticsAdmin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.php delete mode 100644 AnalyticsAdmin/src/V1alpha/FetchConnectedGa4PropertyRequest.php delete mode 100644 AnalyticsAdmin/src/V1alpha/FetchConnectedGa4PropertyResponse.php delete mode 100644 AnalyticsAdmin/src/V1alpha/ListConnectedSiteTagsRequest.php delete mode 100644 AnalyticsAdmin/src/V1alpha/ListConnectedSiteTagsResponse.php delete mode 100644 AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php delete mode 100644 AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutResponse.php diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/audit_user_links.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/audit_user_links.php deleted file mode 100644 index 63ea643c78f2..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/audit_user_links.php +++ /dev/null @@ -1,79 +0,0 @@ -auditUserLinks($formattedParent); - - /** @var AuditUserLink $element */ - foreach ($response as $element) { - printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); - } - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - audit_user_links_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_AuditUserLinks_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_user_links.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_user_links.php deleted file mode 100644 index d0aa676a2004..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_user_links.php +++ /dev/null @@ -1,86 +0,0 @@ -setParent($formattedRequestsParent) - ->setUserLink($requestsUserLink); - $requests = [$createUserLinkRequest,]; - - // Call the API and handle any network failures. - try { - /** @var BatchCreateUserLinksResponse $response */ - $response = $analyticsAdminServiceClient->batchCreateUserLinks($formattedParent, $requests); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - $formattedRequestsParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - batch_create_user_links_sample($formattedParent, $formattedRequestsParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchCreateUserLinks_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_user_links.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_user_links.php deleted file mode 100644 index 462c65306398..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_delete_user_links.php +++ /dev/null @@ -1,78 +0,0 @@ -setName($formattedRequestsName); - $requests = [$deleteUserLinkRequest,]; - - // Call the API and handle any network failures. - try { - $analyticsAdminServiceClient->batchDeleteUserLinks($formattedParent, $requests); - printf('Call completed successfully.' . PHP_EOL); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - $formattedRequestsName = AnalyticsAdminServiceClient::userLinkName('[ACCOUNT]', '[USER_LINK]'); - - batch_delete_user_links_sample($formattedParent, $formattedRequestsName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchDeleteUserLinks_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_get_user_links.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_get_user_links.php deleted file mode 100644 index 3e097bca366c..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_get_user_links.php +++ /dev/null @@ -1,77 +0,0 @@ -batchGetUserLinks($formattedParent, $formattedNames); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - $formattedNamesElement = AnalyticsAdminServiceClient::userLinkName('[ACCOUNT]', '[USER_LINK]'); - - batch_get_user_links_sample($formattedParent, $formattedNamesElement); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchGetUserLinks_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_update_user_links.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_update_user_links.php deleted file mode 100644 index a79182eb9904..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_update_user_links.php +++ /dev/null @@ -1,77 +0,0 @@ -setUserLink($requestsUserLink); - $requests = [$updateUserLinkRequest,]; - - // Call the API and handle any network failures. - try { - /** @var BatchUpdateUserLinksResponse $response */ - $response = $analyticsAdminServiceClient->batchUpdateUserLinks($formattedParent, $requests); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - batch_update_user_links_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_BatchUpdateUserLinks_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_connected_site_tag.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_connected_site_tag.php deleted file mode 100644 index e17ab695edd2..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_connected_site_tag.php +++ /dev/null @@ -1,82 +0,0 @@ -setDisplayName($connectedSiteTagDisplayName) - ->setTagId($connectedSiteTagTagId); - $request = (new CreateConnectedSiteTagRequest()) - ->setConnectedSiteTag($connectedSiteTag); - - // Call the API and handle any network failures. - try { - /** @var CreateConnectedSiteTagResponse $response */ - $response = $analyticsAdminServiceClient->createConnectedSiteTag($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $connectedSiteTagDisplayName = '[DISPLAY_NAME]'; - $connectedSiteTagTagId = '[TAG_ID]'; - - create_connected_site_tag_sample($connectedSiteTagDisplayName, $connectedSiteTagTagId); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateConnectedSiteTag_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty.php deleted file mode 100644 index 753d890ed2db..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_subproperty.php +++ /dev/null @@ -1,96 +0,0 @@ -setDisplayName($subpropertyDisplayName) - ->setTimeZone($subpropertyTimeZone); - $request = (new CreateSubpropertyRequest()) - ->setParent($formattedParent) - ->setSubproperty($subproperty); - - // Call the API and handle any network failures. - try { - /** @var CreateSubpropertyResponse $response */ - $response = $analyticsAdminServiceClient->createSubproperty($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - $subpropertyDisplayName = '[DISPLAY_NAME]'; - $subpropertyTimeZone = '[TIME_ZONE]'; - - create_subproperty_sample($formattedParent, $subpropertyDisplayName, $subpropertyTimeZone); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSubproperty_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_user_link.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_user_link.php deleted file mode 100644 index b51f0ac1b79f..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_user_link.php +++ /dev/null @@ -1,73 +0,0 @@ -createUserLink($formattedParent, $userLink); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - create_user_link_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateUserLink_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_connected_site_tag.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_connected_site_tag.php deleted file mode 100644 index d58ef6df74a1..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_connected_site_tag.php +++ /dev/null @@ -1,56 +0,0 @@ -deleteConnectedSiteTag($request); - printf('Call completed successfully.' . PHP_EOL); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteConnectedSiteTag_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_user_link.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_user_link.php deleted file mode 100644 index c6cf16f2f994..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_user_link.php +++ /dev/null @@ -1,64 +0,0 @@ -deleteUserLink($formattedName); - printf('Call completed successfully.' . PHP_EOL); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::userLinkName('[ACCOUNT]', '[USER_LINK]'); - - delete_user_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteUserLink_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/fetch_automated_ga4_configuration_opt_out.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/fetch_automated_ga4_configuration_opt_out.php deleted file mode 100644 index 96299c616d42..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/fetch_automated_ga4_configuration_opt_out.php +++ /dev/null @@ -1,75 +0,0 @@ -setProperty($property); - - // Call the API and handle any network failures. - try { - /** @var FetchAutomatedGa4ConfigurationOptOutResponse $response */ - $response = $analyticsAdminServiceClient->fetchAutomatedGa4ConfigurationOptOut($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $property = '[PROPERTY]'; - - fetch_automated_ga4_configuration_opt_out_sample($property); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_FetchAutomatedGa4ConfigurationOptOut_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/fetch_connected_ga4_property.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/fetch_connected_ga4_property.php deleted file mode 100644 index aa1eb89cf0a1..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/fetch_connected_ga4_property.php +++ /dev/null @@ -1,76 +0,0 @@ -setProperty($formattedProperty); - - // Call the API and handle any network failures. - try { - /** @var FetchConnectedGa4PropertyResponse $response */ - $response = $analyticsAdminServiceClient->fetchConnectedGa4Property($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedProperty = AnalyticsAdminServiceClient::propertyName('[PROPERTY]'); - - fetch_connected_ga4_property_sample($formattedProperty); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_FetchConnectedGa4Property_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_user_link.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_user_link.php deleted file mode 100644 index e5a2c2f36a45..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_user_link.php +++ /dev/null @@ -1,66 +0,0 @@ -getUserLink($formattedName); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedName = AnalyticsAdminServiceClient::userLinkName('[ACCOUNT]', '[USER_LINK]'); - - get_user_link_sample($formattedName); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetUserLink_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_connected_site_tags.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_connected_site_tags.php deleted file mode 100644 index f5290105b407..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_connected_site_tags.php +++ /dev/null @@ -1,59 +0,0 @@ -listConnectedSiteTags($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListConnectedSiteTags_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_user_links.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_user_links.php deleted file mode 100644 index 02f34b805531..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_user_links.php +++ /dev/null @@ -1,71 +0,0 @@ -listUserLinks($formattedParent); - - /** @var UserLink $element */ - foreach ($response as $element) { - printf('Element data: %s' . PHP_EOL, $element->serializeToJsonString()); - } - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $formattedParent = AnalyticsAdminServiceClient::accountName('[ACCOUNT]'); - - list_user_links_sample($formattedParent); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListUserLinks_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/set_automated_ga4_configuration_opt_out.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/set_automated_ga4_configuration_opt_out.php deleted file mode 100644 index 6fad19980a17..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/set_automated_ga4_configuration_opt_out.php +++ /dev/null @@ -1,75 +0,0 @@ -setProperty($property); - - // Call the API and handle any network failures. - try { - /** @var SetAutomatedGa4ConfigurationOptOutResponse $response */ - $response = $analyticsAdminServiceClient->setAutomatedGa4ConfigurationOptOut($request); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} - -/** - * Helper to execute the sample. - * - * This sample has been automatically generated and should be regarded as a code - * template only. It will require modifications to work: - * - It may require correct/in-range values for request initialization. - * - It may require specifying regional endpoints when creating the service client, - * please see the apiEndpoint client configuration option for more details. - */ -function callSample(): void -{ - $property = '[PROPERTY]'; - - set_automated_ga4_configuration_opt_out_sample($property); -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_SetAutomatedGa4ConfigurationOptOut_sync] diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_user_link.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_user_link.php deleted file mode 100644 index 3121be38cdd4..000000000000 --- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_user_link.php +++ /dev/null @@ -1,56 +0,0 @@ -updateUserLink($userLink); - printf('Response data: %s' . PHP_EOL, $response->serializeToJsonString()); - } catch (ApiException $ex) { - printf('Call failed with message: %s' . PHP_EOL, $ex->getMessage()); - } -} -// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateUserLink_sync] diff --git a/AnalyticsAdmin/src/V1alpha/ConnectedSiteTag.php b/AnalyticsAdmin/src/V1alpha/ConnectedSiteTag.php deleted file mode 100644 index 4e530bbbbbd9..000000000000 --- a/AnalyticsAdmin/src/V1alpha/ConnectedSiteTag.php +++ /dev/null @@ -1,109 +0,0 @@ -google.analytics.admin.v1alpha.ConnectedSiteTag - */ -class ConnectedSiteTag extends \Google\Protobuf\Internal\Message -{ - /** - * Required. User-provided display name for the connected site tag. Must be - * less than 256 characters. - * - * Generated from protobuf field string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Required. "Tag ID to forward events to. Also known as the Measurement ID, - * or the "G-ID" (For example: G-12345). - * - * Generated from protobuf field string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $tag_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $display_name - * Required. User-provided display name for the connected site tag. Must be - * less than 256 characters. - * @type string $tag_id - * Required. "Tag ID to forward events to. Also known as the Measurement ID, - * or the "G-ID" (For example: G-12345). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce(); - parent::__construct($data); - } - - /** - * Required. User-provided display name for the connected site tag. Must be - * less than 256 characters. - * - * Generated from protobuf field string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. User-provided display name for the connected site tag. Must be - * less than 256 characters. - * - * Generated from protobuf field string display_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Required. "Tag ID to forward events to. Also known as the Measurement ID, - * or the "G-ID" (For example: G-12345). - * - * Generated from protobuf field string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getTagId() - { - return $this->tag_id; - } - - /** - * Required. "Tag ID to forward events to. Also known as the Measurement ID, - * or the "G-ID" (For example: G-12345). - * - * Generated from protobuf field string tag_id = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setTagId($var) - { - GPBUtil::checkString($var, True); - $this->tag_id = $var; - - return $this; - } - -} - diff --git a/AnalyticsAdmin/src/V1alpha/CreateConnectedSiteTagRequest.php b/AnalyticsAdmin/src/V1alpha/CreateConnectedSiteTagRequest.php deleted file mode 100644 index d69c7da0b80d..000000000000 --- a/AnalyticsAdmin/src/V1alpha/CreateConnectedSiteTagRequest.php +++ /dev/null @@ -1,123 +0,0 @@ -google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest - */ -class CreateConnectedSiteTagRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The Universal Analytics property to create connected site tags for. - * This API does not support GA4 properties. - * Format: properties/{universalAnalyticsPropertyId} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1; - */ - protected $property = ''; - /** - * Required. The tag to add to the Universal Analytics property - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $connected_site_tag = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $property - * The Universal Analytics property to create connected site tags for. - * This API does not support GA4 properties. - * Format: properties/{universalAnalyticsPropertyId} - * Example: properties/1234 - * @type \Google\Analytics\Admin\V1alpha\ConnectedSiteTag $connected_site_tag - * Required. The tag to add to the Universal Analytics property - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The Universal Analytics property to create connected site tags for. - * This API does not support GA4 properties. - * Format: properties/{universalAnalyticsPropertyId} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1; - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * The Universal Analytics property to create connected site tags for. - * This API does not support GA4 properties. - * Format: properties/{universalAnalyticsPropertyId} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1; - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - - /** - * Required. The tag to add to the Universal Analytics property - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Analytics\Admin\V1alpha\ConnectedSiteTag|null - */ - public function getConnectedSiteTag() - { - return $this->connected_site_tag; - } - - public function hasConnectedSiteTag() - { - return isset($this->connected_site_tag); - } - - public function clearConnectedSiteTag() - { - unset($this->connected_site_tag); - } - - /** - * Required. The tag to add to the Universal Analytics property - * - * Generated from protobuf field .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tag = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Analytics\Admin\V1alpha\ConnectedSiteTag $var - * @return $this - */ - public function setConnectedSiteTag($var) - { - GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ConnectedSiteTag::class); - $this->connected_site_tag = $var; - - return $this; - } - -} - diff --git a/AnalyticsAdmin/src/V1alpha/CreateConnectedSiteTagResponse.php b/AnalyticsAdmin/src/V1alpha/CreateConnectedSiteTagResponse.php deleted file mode 100644 index b3f4637fa867..000000000000 --- a/AnalyticsAdmin/src/V1alpha/CreateConnectedSiteTagResponse.php +++ /dev/null @@ -1,33 +0,0 @@ -google.analytics.admin.v1alpha.CreateConnectedSiteTagResponse - */ -class CreateConnectedSiteTagResponse extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - -} - diff --git a/AnalyticsAdmin/src/V1alpha/DeleteConnectedSiteTagRequest.php b/AnalyticsAdmin/src/V1alpha/DeleteConnectedSiteTagRequest.php deleted file mode 100644 index 19d55fea7d9d..000000000000 --- a/AnalyticsAdmin/src/V1alpha/DeleteConnectedSiteTagRequest.php +++ /dev/null @@ -1,117 +0,0 @@ -google.analytics.admin.v1alpha.DeleteConnectedSiteTagRequest - */ -class DeleteConnectedSiteTagRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The Universal Analytics property to delete connected site tags for. - * This API does not support GA4 properties. - * Format: properties/{universalAnalyticsPropertyId} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1; - */ - protected $property = ''; - /** - * Tag ID to forward events to. Also known as the Measurement ID, or the - * "G-ID" (For example: G-12345). - * - * Generated from protobuf field string tag_id = 2; - */ - protected $tag_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $property - * The Universal Analytics property to delete connected site tags for. - * This API does not support GA4 properties. - * Format: properties/{universalAnalyticsPropertyId} - * Example: properties/1234 - * @type string $tag_id - * Tag ID to forward events to. Also known as the Measurement ID, or the - * "G-ID" (For example: G-12345). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The Universal Analytics property to delete connected site tags for. - * This API does not support GA4 properties. - * Format: properties/{universalAnalyticsPropertyId} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1; - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * The Universal Analytics property to delete connected site tags for. - * This API does not support GA4 properties. - * Format: properties/{universalAnalyticsPropertyId} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1; - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - - /** - * Tag ID to forward events to. Also known as the Measurement ID, or the - * "G-ID" (For example: G-12345). - * - * Generated from protobuf field string tag_id = 2; - * @return string - */ - public function getTagId() - { - return $this->tag_id; - } - - /** - * Tag ID to forward events to. Also known as the Measurement ID, or the - * "G-ID" (For example: G-12345). - * - * Generated from protobuf field string tag_id = 2; - * @param string $var - * @return $this - */ - public function setTagId($var) - { - GPBUtil::checkString($var, True); - $this->tag_id = $var; - - return $this; - } - -} - diff --git a/AnalyticsAdmin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.php b/AnalyticsAdmin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.php deleted file mode 100644 index 54c09a227427..000000000000 --- a/AnalyticsAdmin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutRequest.php +++ /dev/null @@ -1,79 +0,0 @@ -google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequest - */ -class FetchAutomatedGa4ConfigurationOptOutRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The UA property to get the opt out status. Note this request uses - * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internalWebPropertyId} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $property = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $property - * Required. The UA property to get the opt out status. Note this request uses - * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internalWebPropertyId} - * Example: properties/1234 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The UA property to get the opt out status. Note this request uses - * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internalWebPropertyId} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * Required. The UA property to get the opt out status. Note this request uses - * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internalWebPropertyId} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - -} - diff --git a/AnalyticsAdmin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.php b/AnalyticsAdmin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.php deleted file mode 100644 index aa38497d6e9b..000000000000 --- a/AnalyticsAdmin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse - */ -class FetchAutomatedGa4ConfigurationOptOutResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The opt out status for the UA property. - * - * Generated from protobuf field bool opt_out = 1; - */ - protected $opt_out = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $opt_out - * The opt out status for the UA property. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The opt out status for the UA property. - * - * Generated from protobuf field bool opt_out = 1; - * @return bool - */ - public function getOptOut() - { - return $this->opt_out; - } - - /** - * The opt out status for the UA property. - * - * Generated from protobuf field bool opt_out = 1; - * @param bool $var - * @return $this - */ - public function setOptOut($var) - { - GPBUtil::checkBool($var); - $this->opt_out = $var; - - return $this; - } - -} - diff --git a/AnalyticsAdmin/src/V1alpha/FetchConnectedGa4PropertyRequest.php b/AnalyticsAdmin/src/V1alpha/FetchConnectedGa4PropertyRequest.php deleted file mode 100644 index 61191cef5a19..000000000000 --- a/AnalyticsAdmin/src/V1alpha/FetchConnectedGa4PropertyRequest.php +++ /dev/null @@ -1,83 +0,0 @@ -google.analytics.admin.v1alpha.FetchConnectedGa4PropertyRequest - */ -class FetchConnectedGa4PropertyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The UA property for which to look up the connected GA4 property. - * Note this request uses the - * internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internal_web_property_id} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $property = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $property - * Required. The UA property for which to look up the connected GA4 property. - * Note this request uses the - * internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internal_web_property_id} - * Example: properties/1234 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The UA property for which to look up the connected GA4 property. - * Note this request uses the - * internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internal_web_property_id} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * Required. The UA property for which to look up the connected GA4 property. - * Note this request uses the - * internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internal_web_property_id} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - -} - diff --git a/AnalyticsAdmin/src/V1alpha/FetchConnectedGa4PropertyResponse.php b/AnalyticsAdmin/src/V1alpha/FetchConnectedGa4PropertyResponse.php deleted file mode 100644 index a94bf8de4550..000000000000 --- a/AnalyticsAdmin/src/V1alpha/FetchConnectedGa4PropertyResponse.php +++ /dev/null @@ -1,79 +0,0 @@ -google.analytics.admin.v1alpha.FetchConnectedGa4PropertyResponse - */ -class FetchConnectedGa4PropertyResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The GA4 property connected to the UA property. An empty string is returned - * when there is no connected GA4 property. - * Format: properties/{property_id} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { - */ - protected $property = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $property - * The GA4 property connected to the UA property. An empty string is returned - * when there is no connected GA4 property. - * Format: properties/{property_id} - * Example: properties/1234 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The GA4 property connected to the UA property. An empty string is returned - * when there is no connected GA4 property. - * Format: properties/{property_id} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * The GA4 property connected to the UA property. An empty string is returned - * when there is no connected GA4 property. - * Format: properties/{property_id} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - -} - diff --git a/AnalyticsAdmin/src/V1alpha/ListConnectedSiteTagsRequest.php b/AnalyticsAdmin/src/V1alpha/ListConnectedSiteTagsRequest.php deleted file mode 100644 index e86202e1d53e..000000000000 --- a/AnalyticsAdmin/src/V1alpha/ListConnectedSiteTagsRequest.php +++ /dev/null @@ -1,79 +0,0 @@ -google.analytics.admin.v1alpha.ListConnectedSiteTagsRequest - */ -class ListConnectedSiteTagsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * The Universal Analytics property to fetch connected site tags for. - * This does not work on GA4 properties. A maximum of 20 connected site tags - * will be returned. - * Example Format: `properties/1234` - * - * Generated from protobuf field string property = 1; - */ - protected $property = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $property - * The Universal Analytics property to fetch connected site tags for. - * This does not work on GA4 properties. A maximum of 20 connected site tags - * will be returned. - * Example Format: `properties/1234` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The Universal Analytics property to fetch connected site tags for. - * This does not work on GA4 properties. A maximum of 20 connected site tags - * will be returned. - * Example Format: `properties/1234` - * - * Generated from protobuf field string property = 1; - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * The Universal Analytics property to fetch connected site tags for. - * This does not work on GA4 properties. A maximum of 20 connected site tags - * will be returned. - * Example Format: `properties/1234` - * - * Generated from protobuf field string property = 1; - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - -} - diff --git a/AnalyticsAdmin/src/V1alpha/ListConnectedSiteTagsResponse.php b/AnalyticsAdmin/src/V1alpha/ListConnectedSiteTagsResponse.php deleted file mode 100644 index 3d0778010cbe..000000000000 --- a/AnalyticsAdmin/src/V1alpha/ListConnectedSiteTagsResponse.php +++ /dev/null @@ -1,71 +0,0 @@ -google.analytics.admin.v1alpha.ListConnectedSiteTagsResponse - */ -class ListConnectedSiteTagsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The site tags for the Universal Analytics property. A maximum of 20 - * connected site tags will be returned. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; - */ - private $connected_site_tags; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Analytics\Admin\V1alpha\ConnectedSiteTag>|\Google\Protobuf\Internal\RepeatedField $connected_site_tags - * The site tags for the Universal Analytics property. A maximum of 20 - * connected site tags will be returned. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * The site tags for the Universal Analytics property. A maximum of 20 - * connected site tags will be returned. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getConnectedSiteTags() - { - return $this->connected_site_tags; - } - - /** - * The site tags for the Universal Analytics property. A maximum of 20 - * connected site tags will be returned. - * - * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ConnectedSiteTag connected_site_tags = 1; - * @param array<\Google\Analytics\Admin\V1alpha\ConnectedSiteTag>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setConnectedSiteTags($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ConnectedSiteTag::class); - $this->connected_site_tags = $arr; - - return $this; - } - -} - diff --git a/AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php b/AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php deleted file mode 100644 index 0dd8afa71817..000000000000 --- a/AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php +++ /dev/null @@ -1,113 +0,0 @@ -google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequest - */ -class SetAutomatedGa4ConfigurationOptOutRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The UA property to set the opt out status. Note this request uses - * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internalWebPropertyId} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $property = ''; - /** - * The status to set. - * - * Generated from protobuf field bool opt_out = 2; - */ - protected $opt_out = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $property - * Required. The UA property to set the opt out status. Note this request uses - * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internalWebPropertyId} - * Example: properties/1234 - * @type bool $opt_out - * The status to set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - - /** - * Required. The UA property to set the opt out status. Note this request uses - * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internalWebPropertyId} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getProperty() - { - return $this->property; - } - - /** - * Required. The UA property to set the opt out status. Note this request uses - * the internal property ID, not the tracking ID of the form UA-XXXXXX-YY. - * Format: properties/{internalWebPropertyId} - * Example: properties/1234 - * - * Generated from protobuf field string property = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setProperty($var) - { - GPBUtil::checkString($var, True); - $this->property = $var; - - return $this; - } - - /** - * The status to set. - * - * Generated from protobuf field bool opt_out = 2; - * @return bool - */ - public function getOptOut() - { - return $this->opt_out; - } - - /** - * The status to set. - * - * Generated from protobuf field bool opt_out = 2; - * @param bool $var - * @return $this - */ - public function setOptOut($var) - { - GPBUtil::checkBool($var); - $this->opt_out = $var; - - return $this; - } - -} - diff --git a/AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutResponse.php b/AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutResponse.php deleted file mode 100644 index 481c502c84c4..000000000000 --- a/AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse - */ -class SetAutomatedGa4ConfigurationOptOutResponse extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce(); - parent::__construct($data); - } - -} -