diff --git a/AnalyticsAdmin/metadata/V1Alpha/AccessReport.php b/AnalyticsAdmin/metadata/V1Alpha/AccessReport.php
index 476318a30a5..9d756b09e1d 100644
Binary files a/AnalyticsAdmin/metadata/V1Alpha/AccessReport.php and b/AnalyticsAdmin/metadata/V1Alpha/AccessReport.php differ
diff --git a/AnalyticsAdmin/metadata/V1Alpha/AnalyticsAdmin.php b/AnalyticsAdmin/metadata/V1Alpha/AnalyticsAdmin.php
index d33c1dfa052..bcfa7c144c6 100644
--- a/AnalyticsAdmin/metadata/V1Alpha/AnalyticsAdmin.php
+++ b/AnalyticsAdmin/metadata/V1Alpha/AnalyticsAdmin.php
@@ -26,7 +26,7 @@ public static function initOnce() {
\GPBMetadata\Google\Protobuf\Timestamp::initOnce();
$pool->internalAddGeneratedFile(
'
-¥ƒ
+Þ
4google/analytics/admin/v1alpha/analytics_admin.protogoogle.analytics.admin.v1alpha-google/analytics/admin/v1alpha/audience.proto.google/analytics/admin/v1alpha/resources.protogoogle/api/annotations.protogoogle/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.protogoogle/protobuf/empty.proto google/protobuf/field_mask.protogoogle/protobuf/timestamp.proto"¤
RunAccessReportRequest
entity ( C
@@ -296,7 +296,27 @@ public static function initOnce() {
!display_video_360_advertiser_link (2=.google.analytics.admin.v1alpha.DisplayVideo360AdvertiserLink"
2CancelDisplayVideo360AdvertiserLinkProposalRequestY
name ( BKàAúAE
-Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal"µ
+Canalyticsadmin.googleapis.com/DisplayVideo360AdvertiserLinkProposal"b
+GetSearchAds360LinkRequestD
+name ( B6àAúA0
+.analyticsadmin.googleapis.com/SearchAds360Link"
+ListSearchAds360LinksRequestF
+parent ( B6àAúA0.analyticsadmin.googleapis.com/SearchAds360Link
+ page_size (
+
+page_token ( "ˆ
+ListSearchAds360LinksResponseN
+search_ads_360_links (20.google.analytics.admin.v1alpha.SearchAds360Link
+next_page_token ( "»
+CreateSearchAds360LinkRequestF
+parent ( B6àAúA0.analyticsadmin.googleapis.com/SearchAds360LinkR
+search_ads_360_link (20.google.analytics.admin.v1alpha.SearchAds360LinkBàA"e
+DeleteSearchAds360LinkRequestD
+name ( B6àAúA0
+.analyticsadmin.googleapis.com/SearchAds360Link"¤
+UpdateSearchAds360LinkRequestM
+search_ads_360_link (20.google.analytics.admin.v1alpha.SearchAds360Link4
+update_mask (2.google.protobuf.FieldMaskBàA"µ
CreateCustomDimensionRequestE
parent ( B5àAúA/-analyticsadmin.googleapis.com/CustomDimensionN
custom_dimension (2/.google.analytics.admin.v1alpha.CustomDimensionBàA"Ÿ
@@ -387,7 +407,26 @@ public static function initOnce() {
1analyticsadmin.googleapis.com/AttributionSettings"°
UpdateAttributionSettingsRequestV
attribution_settings (23.google.analytics.admin.v1alpha.AttributionSettingsBàA4
-update_mask (2.google.protobuf.FieldMaskBàA2Œ
+update_mask (2.google.protobuf.FieldMaskBàA"S
+)SetAutomatedGa4ConfigurationOptOutRequest
+property ( BàA
+opt_out (",
+*SetAutomatedGa4ConfigurationOptOutResponse"D
++FetchAutomatedGa4ConfigurationOptOutRequest
+property ( BàA"?
+,FetchAutomatedGa4ConfigurationOptOutResponse
+opt_out ("Z
+GetBigQueryLinkRequest@
+name ( B2àAúA,
+*analyticsadmin.googleapis.com/BigQueryLink"…
+ListBigQueryLinksRequestB
+parent ( B2àAúA,*analyticsadmin.googleapis.com/BigQueryLink
+ page_size (
+
+page_token ( "z
+ListBigQueryLinksResponseD
+bigquery_links (2,.google.analytics.admin.v1alpha.BigQueryLink
+next_page_token ( 2õœ
AnalyticsAdminService“
GetAccount1.google.analytics.admin.v1alpha.GetAccountRequest\'.google.analytics.admin.v1alpha.Account")‚Óä“/v1alpha/{name=accounts/*}ÚAname”
@@ -465,10 +504,19 @@ public static function initOnce() {
ListAudiences4.google.analytics.admin.v1alpha.ListAudiencesRequest5.google.analytics.admin.v1alpha.ListAudiencesResponse"9‚Óä“*(/v1alpha/{parent=properties/*}/audiencesÚAparent¿
CreateAudience5.google.analytics.admin.v1alpha.CreateAudienceRequest(.google.analytics.admin.v1alpha.Audience"L‚Óä“4"(/v1alpha/{parent=properties/*}/audiences:audienceÚAparent,audienceÍ
UpdateAudience5.google.analytics.admin.v1alpha.UpdateAudienceRequest(.google.analytics.admin.v1alpha.Audience"Z‚Óä“=21/v1alpha/{audience.name=properties/*/audiences/*}:audienceÚAaudience,update_maskž
-ArchiveAudience6.google.analytics.admin.v1alpha.ArchiveAudienceRequest.google.protobuf.Empty";‚Óä“5"0/v1alpha/{name=properties/*/audiences/*}:archive:*Í
+ArchiveAudience6.google.analytics.admin.v1alpha.ArchiveAudienceRequest.google.protobuf.Empty";‚Óä“5"0/v1alpha/{name=properties/*/audiences/*}:archive:*Ä
+GetSearchAds360Link:.google.analytics.admin.v1alpha.GetSearchAds360LinkRequest0.google.analytics.admin.v1alpha.SearchAds360Link"?‚Óä“20/v1alpha/{name=properties/*/searchAds360Links/*}ÚAname×
+ListSearchAds360Links<.google.analytics.admin.v1alpha.ListSearchAds360LinksRequest=.google.analytics.admin.v1alpha.ListSearchAds360LinksResponse"A‚Óä“20/v1alpha/{parent=properties/*}/searchAds360LinksÚAparentõ
+CreateSearchAds360Link=.google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest0.google.analytics.admin.v1alpha.SearchAds360Link"j‚Óä“G"0/v1alpha/{parent=properties/*}/searchAds360Links:search_ads_360_linkÚAparent,search_ads_360_link°
+DeleteSearchAds360Link=.google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest.google.protobuf.Empty"?‚Óä“2*0/v1alpha/{name=properties/*/searchAds360Links/*}ÚAname
+UpdateSearchAds360Link=.google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest0.google.analytics.admin.v1alpha.SearchAds360Link"ƒ‚Óä“[2D/v1alpha/{search_ads_360_link.name=properties/*/searchAds360Links/*}:search_ads_360_linkÚAsearch_ads_360_link,update_maskÍ
GetAttributionSettings=.google.analytics.admin.v1alpha.GetAttributionSettingsRequest3.google.analytics.admin.v1alpha.AttributionSettings"?‚Óä“20/v1alpha/{name=properties/*/attributionSettings}ÚAname›
UpdateAttributionSettings@.google.analytics.admin.v1alpha.UpdateAttributionSettingsRequest3.google.analytics.admin.v1alpha.AttributionSettings"†‚Óä“]2E/v1alpha/{attribution_settings.name=properties/*/attributionSettings}:attribution_settingsÚA attribution_settings,update_mask½
-RunAccessReport6.google.analytics.admin.v1alpha.RunAccessReportRequest7.google.analytics.admin.v1alpha.RunAccessReportResponse"9‚Óä“3"./v1alpha/{entity=properties/*}:runAccessReport:*üÊAanalyticsadmin.googleapis.comÒAØhttps://www.googleapis.com/auth/analytics.edit,https://www.googleapis.com/auth/analytics.manage.users,https://www.googleapis.com/auth/analytics.manage.users.readonly,https://www.googleapis.com/auth/analytics.readonlyB€
+RunAccessReport6.google.analytics.admin.v1alpha.RunAccessReportRequest7.google.analytics.admin.v1alpha.RunAccessReportResponse"9‚Óä“3"./v1alpha/{entity=properties/*}:runAccessReport:*þ
+"SetAutomatedGa4ConfigurationOptOutI.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutRequestJ.google.analytics.admin.v1alpha.SetAutomatedGa4ConfigurationOptOutResponse"A‚Óä“;"6/v1alpha/properties:setAutomatedGa4ConfigurationOptOut:*†
+$FetchAutomatedGa4ConfigurationOptOutK.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutRequestL.google.analytics.admin.v1alpha.FetchAutomatedGa4ConfigurationOptOutResponse"C‚Óä“="8/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut:*´
+GetBigQueryLink6.google.analytics.admin.v1alpha.GetBigQueryLinkRequest,.google.analytics.admin.v1alpha.BigQueryLink";‚Óä“.,/v1alpha/{name=properties/*/bigQueryLinks/*}ÚAnameÇ
+ListBigQueryLinks8.google.analytics.admin.v1alpha.ListBigQueryLinksRequest9.google.analytics.admin.v1alpha.ListBigQueryLinksResponse"=‚Óä“.,/v1alpha/{parent=properties/*}/bigQueryLinksÚAparentüÊAanalyticsadmin.googleapis.comÒAØhttps://www.googleapis.com/auth/analytics.edit,https://www.googleapis.com/auth/analytics.manage.users,https://www.googleapis.com/auth/analytics.manage.users.readonly,https://www.googleapis.com/auth/analytics.readonlyB€
"com.google.analytics.admin.v1alphaBAnalyticsAdminProtoPZCgoogle.golang.org/genproto/googleapis/analytics/admin/v1alpha;adminbproto3'
, true);
diff --git a/AnalyticsAdmin/metadata/V1Alpha/Audience.php b/AnalyticsAdmin/metadata/V1Alpha/Audience.php
index 6d66e5f296b..211bed82caa 100644
Binary files a/AnalyticsAdmin/metadata/V1Alpha/Audience.php and b/AnalyticsAdmin/metadata/V1Alpha/Audience.php differ
diff --git a/AnalyticsAdmin/metadata/V1Alpha/ExpandedDataSet.php b/AnalyticsAdmin/metadata/V1Alpha/ExpandedDataSet.php
new file mode 100644
index 00000000000..c8371762e9e
Binary files /dev/null and b/AnalyticsAdmin/metadata/V1Alpha/ExpandedDataSet.php differ
diff --git a/AnalyticsAdmin/metadata/V1Alpha/Resources.php b/AnalyticsAdmin/metadata/V1Alpha/Resources.php
index 35e870830bb..66e5943d4d1 100644
Binary files a/AnalyticsAdmin/metadata/V1Alpha/Resources.php and b/AnalyticsAdmin/metadata/V1Alpha/Resources.php differ
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php
index d97d0cc5b1f..66e83a48c6a 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/acknowledge_user_data_collection.php
@@ -35,8 +35,8 @@
*
* @param string $formattedProperty The property for which to acknowledge user data collection. Please see
* {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field.
- * @param string $acknowledgement An acknowledgement that the caller of this method understands the terms
- * of user data collection.
+ * @param string $acknowledgement An acknowledgement that the caller of this method understands the
+ * terms of user data collection.
*
* This field must contain the exact value:
* "I acknowledge that I have the necessary privacy disclosures and rights
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_user_links.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_user_links.php
index ffcd736fae6..d0aa676a200 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_user_links.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/batch_create_user_links.php
@@ -35,8 +35,8 @@
* This method is transactional. If any UserLink cannot be created, none of
* the UserLinks will be created.
*
- * @param string $formattedParent The account or property that all user links in the request are for.
- * This field is required. The parent field in the CreateUserLinkRequest
+ * @param string $formattedParent The account or property that all user links in the request are
+ * for. This field is required. The parent field in the CreateUserLinkRequest
* messages must either be empty or match this field.
* Example format: accounts/1234
* Please see {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field.
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php
index e18bcaf5121..e3aee960254 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_audience.php
@@ -36,8 +36,8 @@
* Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field.
* @param string $audienceDisplayName The display name of the Audience.
* @param string $audienceDescription The description of the Audience.
- * @param int $audienceMembershipDurationDays Immutable. The duration a user should stay in an Audience. It cannot be set to more
- * than 540 days.
+ * @param int $audienceMembershipDurationDays Immutable. The duration a user should stay in an Audience. It
+ * cannot be set to more than 540 days.
* @param int $audienceFilterClausesClauseType Specifies whether this is an include or exclude filter clause.
*/
function create_audience_sample(
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php
index 4cbad125306..74b26009012 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_conversion_event.php
@@ -30,8 +30,8 @@
/**
* Creates a conversion event with the specified attributes.
*
- * @param string $formattedParent The resource name of the parent property where this conversion event will
- * be created. Format: properties/123
+ * @param string $formattedParent The resource name of the parent property where this conversion
+ * event will be created. Format: properties/123
* Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field.
*/
function create_conversion_event_sample(string $formattedParent): void
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php
index ac7002d01f7..007e85c7a5e 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_custom_dimension.php
@@ -42,8 +42,8 @@
* May only contain alphanumeric and underscore characters, starting with a
* letter. Max length of 24 characters for user-scoped dimensions, 40
* characters for event-scoped dimensions.
- * @param string $customDimensionDisplayName Display name for this custom dimension as shown in the Analytics UI.
- * Max length of 82 characters, alphanumeric plus space and underscore
+ * @param string $customDimensionDisplayName Display name for this custom dimension as shown in the Analytics
+ * UI. Max length of 82 characters, alphanumeric plus space and underscore
* starting with a letter. Legacy system-generated display names may contain
* square brackets, but updates to this field will never permit square
* brackets.
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php
index 5a2bb1a817d..e2e4d4b1c41 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_property.php
@@ -33,9 +33,9 @@
* @param string $propertyDisplayName Human-readable display name for this property.
*
* The max allowed display name length is 100 UTF-16 code units.
- * @param string $propertyTimeZone Reporting Time Zone, used as the day boundary for reports, regardless of
- * where the data originates. If the time zone honors DST, Analytics will
- * automatically adjust for the changes.
+ * @param string $propertyTimeZone Reporting Time Zone, used as the day boundary for reports,
+ * regardless of where the data originates. If the time zone honors DST,
+ * Analytics will automatically adjust for the changes.
*
* NOTE: Changing the time zone only affects data going forward, and is not
* applied retroactively.
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php
new file mode 100644
index 00000000000..6c10b8c37c1
--- /dev/null
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/create_search_ads360_link.php
@@ -0,0 +1,72 @@
+createSearchAds360Link(
+ $formattedParent,
+ $searchAds360Link
+ );
+ 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]');
+
+ create_search_ads360_link_sample($formattedParent);
+}
+// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_CreateSearchAds360Link_sync]
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php
index 2403b42313f..90483be6c5d 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_property.php
@@ -38,7 +38,7 @@
* will be permanently purged.
* https://support.google.com/analytics/answer/6154772
*
- * Returns an error if the target is not found, or is not an GA4 Property.
+ * Returns an error if the target is not found, or is not a GA4 Property.
*
* @param string $formattedName The name of the Property to soft-delete.
* Format: properties/{property_id}
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php
new file mode 100644
index 00000000000..5245fbff590
--- /dev/null
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/delete_search_ads360_link.php
@@ -0,0 +1,68 @@
+deleteSearchAds360Link($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::searchAds360LinkName(
+ '[PROPERTY]',
+ '[SEARCH_ADS_360_LINK]'
+ );
+
+ delete_search_ads360_link_sample($formattedName);
+}
+// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_DeleteSearchAds360Link_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
new file mode 100644
index 00000000000..22cd74500ba
--- /dev/null
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/fetch_automated_ga4_configuration_opt_out.php
@@ -0,0 +1,70 @@
+fetchAutomatedGa4ConfigurationOptOut($property);
+ 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/get_audience.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php
index f08f3671d54..6c5b683f9e4 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_audience.php
@@ -30,6 +30,7 @@
/**
* Lookup for a single Audience.
* Audiences created before 2020 may not be supported.
+ * Default audiences will not show filter definitions.
*
* @param string $formattedName The name of the Audience to get.
* Example format: properties/1234/audiences/5678
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php
new file mode 100644
index 00000000000..031c9d53d22
--- /dev/null
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_big_query_link.php
@@ -0,0 +1,68 @@
+getBigQueryLink($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::bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]');
+
+ get_big_query_link_sample($formattedName);
+}
+// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetBigQueryLink_sync]
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php
new file mode 100644
index 00000000000..65b2954f013
--- /dev/null
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/get_search_ads360_link.php
@@ -0,0 +1,70 @@
+getSearchAds360Link($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::searchAds360LinkName(
+ '[PROPERTY]',
+ '[SEARCH_ADS_360_LINK]'
+ );
+
+ get_search_ads360_link_sample($formattedName);
+}
+// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_GetSearchAds360Link_sync]
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php
index 5026591bcb1..4a15ae09845 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_audiences.php
@@ -31,6 +31,7 @@
/**
* Lists Audiences on a property.
* Audiences created before 2020 may not be supported.
+ * Default audiences will not show filter definitions.
*
* @param string $formattedParent Example format: properties/1234
* Please see {@see AnalyticsAdminServiceClient::propertyName()} for help formatting this field.
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php
new file mode 100644
index 00000000000..39ca3b2bae3
--- /dev/null
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_big_query_links.php
@@ -0,0 +1,73 @@
+listBigQueryLinks($formattedParent);
+
+ /** @var BigQueryLink $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::propertyName('[PROPERTY]');
+
+ list_big_query_links_sample($formattedParent);
+}
+// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListBigQueryLinks_sync]
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php
new file mode 100644
index 00000000000..f311ba57a28
--- /dev/null
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/list_search_ads360_links.php
@@ -0,0 +1,71 @@
+listSearchAds360Links($formattedParent);
+
+ /** @var SearchAds360Link $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::propertyName('[PROPERTY]');
+
+ list_search_ads360_links_sample($formattedParent);
+}
+// [END analyticsadmin_v1alpha_generated_AnalyticsAdminService_ListSearchAds360Links_sync]
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php
index 606d9a49580..06f697c528b 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/search_change_history_events.php
@@ -32,7 +32,8 @@
* Searches through all changes to an account or its children given the
* specified set of filters.
*
- * @param string $formattedAccount The account resource for which to return change history resources. Please see
+ * @param string $formattedAccount The account resource for which to return change history
+ * resources. Please see
* {@see AnalyticsAdminServiceClient::accountName()} for help formatting this field.
*/
function search_change_history_events_sample(string $formattedAccount): void
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
new file mode 100644
index 00000000000..fbd436346af
--- /dev/null
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/set_automated_ga4_configuration_opt_out.php
@@ -0,0 +1,70 @@
+setAutomatedGa4ConfigurationOptOut($property);
+ 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_attribution_settings.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php
index 5467c985ed6..aaa48050578 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_attribution_settings.php
@@ -34,12 +34,12 @@
/**
* Updates attribution settings on a property.
*
- * @param int $attributionSettingsAcquisitionConversionEventLookbackWindow The lookback window configuration for acquisition conversion events.
- * The default window size is 30 days.
- * @param int $attributionSettingsOtherConversionEventLookbackWindow The lookback window for all other, non-acquisition conversion events.
- * The default window size is 90 days.
- * @param int $attributionSettingsReportingAttributionModel The reporting attribution model used to calculate conversion credit in this
- * property's reports.
+ * @param int $attributionSettingsAcquisitionConversionEventLookbackWindow The lookback window configuration for acquisition conversion
+ * events. The default window size is 30 days.
+ * @param int $attributionSettingsOtherConversionEventLookbackWindow The lookback window for all other, non-acquisition conversion
+ * events. The default window size is 90 days.
+ * @param int $attributionSettingsReportingAttributionModel The reporting attribution model used to calculate conversion
+ * credit in this property's reports.
*
* Changing the attribution model will apply to both historical and future
* data. These changes will be reflected in reports with conversion and
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php
index bbc4f3c28f9..205f512819d 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_audience.php
@@ -35,8 +35,8 @@
*
* @param string $audienceDisplayName The display name of the Audience.
* @param string $audienceDescription The description of the Audience.
- * @param int $audienceMembershipDurationDays Immutable. The duration a user should stay in an Audience. It cannot be set to more
- * than 540 days.
+ * @param int $audienceMembershipDurationDays Immutable. The duration a user should stay in an Audience. It
+ * cannot be set to more than 540 days.
* @param int $audienceFilterClausesClauseType Specifies whether this is an include or exclude filter clause.
*/
function update_audience_sample(
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_property.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_property.php
index 19b2a66685c..04945f7634c 100644
--- a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_property.php
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_property.php
@@ -34,9 +34,9 @@
* @param string $propertyDisplayName Human-readable display name for this property.
*
* The max allowed display name length is 100 UTF-16 code units.
- * @param string $propertyTimeZone Reporting Time Zone, used as the day boundary for reports, regardless of
- * where the data originates. If the time zone honors DST, Analytics will
- * automatically adjust for the changes.
+ * @param string $propertyTimeZone Reporting Time Zone, used as the day boundary for reports,
+ * regardless of where the data originates. If the time zone honors DST,
+ * Analytics will automatically adjust for the changes.
*
* NOTE: Changing the time zone only affects data going forward, and is not
* applied retroactively.
diff --git a/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php
new file mode 100644
index 00000000000..6216e697327
--- /dev/null
+++ b/AnalyticsAdmin/samples/V1alpha/AnalyticsAdminServiceClient/update_search_ads360_link.php
@@ -0,0 +1,57 @@
+updateSearchAds360Link($updateMask);
+ 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_UpdateSearchAds360Link_sync]
diff --git a/AnalyticsAdmin/src/V1alpha/AccessQuota.php b/AnalyticsAdmin/src/V1alpha/AccessQuota.php
index 69978db5024..fdddf4ad297 100644
--- a/AnalyticsAdmin/src/V1alpha/AccessQuota.php
+++ b/AnalyticsAdmin/src/V1alpha/AccessQuota.php
@@ -26,8 +26,8 @@ class AccessQuota extends \Google\Protobuf\Internal\Message
private $tokens_per_day = null;
/**
* Properties can use 50,000 tokens per hour. An API request consumes a single
- * number of tokens, and that number is deducted from both the hourly and
- * daily quotas.
+ * number of tokens, and that number is deducted from all of the hourly,
+ * daily, and per project hourly quotas.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
*/
@@ -45,6 +45,15 @@ class AccessQuota extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus server_errors_per_project_per_hour = 4;
*/
private $server_errors_per_project_per_hour = null;
+ /**
+ * Properties can use up to 25% of their tokens per project per hour. This
+ * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+ * hour. An API request consumes a single number of tokens, and that number is
+ * deducted from all of the hourly, daily, and per project hourly quotas.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;
+ */
+ private $tokens_per_project_per_hour = null;
/**
* Constructor.
@@ -57,13 +66,18 @@ class AccessQuota extends \Google\Protobuf\Internal\Message
* 10 tokens.
* @type \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $tokens_per_hour
* Properties can use 50,000 tokens per hour. An API request consumes a single
- * number of tokens, and that number is deducted from both the hourly and
- * daily quotas.
+ * number of tokens, and that number is deducted from all of the hourly,
+ * daily, and per project hourly quotas.
* @type \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $concurrent_requests
* Properties can use up to 50 concurrent requests.
* @type \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $server_errors_per_project_per_hour
* Properties and cloud project pairs can have up to 50 server errors per
* hour.
+ * @type \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $tokens_per_project_per_hour
+ * Properties can use up to 25% of their tokens per project per hour. This
+ * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+ * hour. An API request consumes a single number of tokens, and that number is
+ * deducted from all of the hourly, daily, and per project hourly quotas.
* }
*/
public function __construct($data = NULL) {
@@ -111,8 +125,8 @@ public function setTokensPerDay($var)
/**
* Properties can use 50,000 tokens per hour. An API request consumes a single
- * number of tokens, and that number is deducted from both the hourly and
- * daily quotas.
+ * number of tokens, and that number is deducted from all of the hourly,
+ * daily, and per project hourly quotas.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
* @return \Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null
@@ -134,8 +148,8 @@ public function clearTokensPerHour()
/**
* Properties can use 50,000 tokens per hour. An API request consumes a single
- * number of tokens, and that number is deducted from both the hourly and
- * daily quotas.
+ * number of tokens, and that number is deducted from all of the hourly,
+ * daily, and per project hourly quotas.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_hour = 2;
* @param \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $var
@@ -223,5 +237,47 @@ public function setServerErrorsPerProjectPerHour($var)
return $this;
}
+ /**
+ * Properties can use up to 25% of their tokens per project per hour. This
+ * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+ * hour. An API request consumes a single number of tokens, and that number is
+ * deducted from all of the hourly, daily, and per project hourly quotas.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;
+ * @return \Google\Analytics\Admin\V1alpha\AccessQuotaStatus|null
+ */
+ public function getTokensPerProjectPerHour()
+ {
+ return $this->tokens_per_project_per_hour;
+ }
+
+ public function hasTokensPerProjectPerHour()
+ {
+ return isset($this->tokens_per_project_per_hour);
+ }
+
+ public function clearTokensPerProjectPerHour()
+ {
+ unset($this->tokens_per_project_per_hour);
+ }
+
+ /**
+ * Properties can use up to 25% of their tokens per project per hour. This
+ * amounts to Analytics 360 Properties can use 12,500 tokens per project per
+ * hour. An API request consumes a single number of tokens, and that number is
+ * deducted from all of the hourly, daily, and per project hourly quotas.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.AccessQuotaStatus tokens_per_project_per_hour = 5;
+ * @param \Google\Analytics\Admin\V1alpha\AccessQuotaStatus $var
+ * @return $this
+ */
+ public function setTokensPerProjectPerHour($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\AccessQuotaStatus::class);
+ $this->tokens_per_project_per_hour = $var;
+
+ return $this;
+ }
+
}
diff --git a/AnalyticsAdmin/src/V1alpha/AcknowledgeUserDataCollectionRequest.php b/AnalyticsAdmin/src/V1alpha/AcknowledgeUserDataCollectionRequest.php
index b19ba4484e1..370f369dce1 100644
--- a/AnalyticsAdmin/src/V1alpha/AcknowledgeUserDataCollectionRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/AcknowledgeUserDataCollectionRequest.php
@@ -22,8 +22,8 @@ class AcknowledgeUserDataCollectionRequest extends \Google\Protobuf\Internal\Mes
*/
private $property = '';
/**
- * Required. An acknowledgement that the caller of this method understands the terms
- * of user data collection.
+ * Required. An acknowledgement that the caller of this method understands the
+ * terms of user data collection.
* This field must contain the exact value:
* "I acknowledge that I have the necessary privacy disclosures and rights
* from my end users for the collection and processing of their data,
@@ -43,8 +43,8 @@ class AcknowledgeUserDataCollectionRequest extends \Google\Protobuf\Internal\Mes
* @type string $property
* Required. The property for which to acknowledge user data collection.
* @type string $acknowledgement
- * Required. An acknowledgement that the caller of this method understands the terms
- * of user data collection.
+ * Required. An acknowledgement that the caller of this method understands the
+ * terms of user data collection.
* This field must contain the exact value:
* "I acknowledge that I have the necessary privacy disclosures and rights
* from my end users for the collection and processing of their data,
@@ -84,8 +84,8 @@ public function setProperty($var)
}
/**
- * Required. An acknowledgement that the caller of this method understands the terms
- * of user data collection.
+ * Required. An acknowledgement that the caller of this method understands the
+ * terms of user data collection.
* This field must contain the exact value:
* "I acknowledge that I have the necessary privacy disclosures and rights
* from my end users for the collection and processing of their data,
@@ -101,8 +101,8 @@ public function getAcknowledgement()
}
/**
- * Required. An acknowledgement that the caller of this method understands the terms
- * of user data collection.
+ * Required. An acknowledgement that the caller of this method understands the
+ * terms of user data collection.
* This field must contain the exact value:
* "I acknowledge that I have the necessary privacy disclosures and rights
* from my end users for the collection and processing of their data,
diff --git a/AnalyticsAdmin/src/V1alpha/AnalyticsAdminServiceGrpcClient.php b/AnalyticsAdmin/src/V1alpha/AnalyticsAdminServiceGrpcClient.php
index ad204aeff98..bcaa77c6121 100644
--- a/AnalyticsAdmin/src/V1alpha/AnalyticsAdminServiceGrpcClient.php
+++ b/AnalyticsAdmin/src/V1alpha/AnalyticsAdminServiceGrpcClient.php
@@ -197,7 +197,7 @@ public function CreateProperty(\Google\Analytics\Admin\V1alpha\CreatePropertyReq
* will be permanently purged.
* https://support.google.com/analytics/answer/6154772
*
- * Returns an error if the target is not found, or is not an GA4 Property.
+ * Returns an error if the target is not found, or is not a GA4 Property.
* @param \Google\Analytics\Admin\V1alpha\DeletePropertyRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -1167,6 +1167,7 @@ public function GetDataStream(\Google\Analytics\Admin\V1alpha\GetDataStreamReque
/**
* Lookup for a single Audience.
* Audiences created before 2020 may not be supported.
+ * Default audiences will not show filter definitions.
* @param \Google\Analytics\Admin\V1alpha\GetAudienceRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -1183,6 +1184,7 @@ public function GetAudience(\Google\Analytics\Admin\V1alpha\GetAudienceRequest $
/**
* Lists Audiences on a property.
* Audiences created before 2020 may not be supported.
+ * Default audiences will not show filter definitions.
* @param \Google\Analytics\Admin\V1alpha\ListAudiencesRequest $argument input argument
* @param array $metadata metadata
* @param array $options call options
@@ -1241,6 +1243,81 @@ public function ArchiveAudience(\Google\Analytics\Admin\V1alpha\ArchiveAudienceR
$metadata, $options);
}
+ /**
+ * Look up a single SearchAds360Link
+ * @param \Google\Analytics\Admin\V1alpha\GetSearchAds360LinkRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function GetSearchAds360Link(\Google\Analytics\Admin\V1alpha\GetSearchAds360LinkRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetSearchAds360Link',
+ $argument,
+ ['\Google\Analytics\Admin\V1alpha\SearchAds360Link', 'decode'],
+ $metadata, $options);
+ }
+
+ /**
+ * Lists all SearchAds360Links on a property.
+ * @param \Google\Analytics\Admin\V1alpha\ListSearchAds360LinksRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function ListSearchAds360Links(\Google\Analytics\Admin\V1alpha\ListSearchAds360LinksRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListSearchAds360Links',
+ $argument,
+ ['\Google\Analytics\Admin\V1alpha\ListSearchAds360LinksResponse', 'decode'],
+ $metadata, $options);
+ }
+
+ /**
+ * Creates a SearchAds360Link.
+ * @param \Google\Analytics\Admin\V1alpha\CreateSearchAds360LinkRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function CreateSearchAds360Link(\Google\Analytics\Admin\V1alpha\CreateSearchAds360LinkRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateSearchAds360Link',
+ $argument,
+ ['\Google\Analytics\Admin\V1alpha\SearchAds360Link', 'decode'],
+ $metadata, $options);
+ }
+
+ /**
+ * Deletes a SearchAds360Link on a property.
+ * @param \Google\Analytics\Admin\V1alpha\DeleteSearchAds360LinkRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function DeleteSearchAds360Link(\Google\Analytics\Admin\V1alpha\DeleteSearchAds360LinkRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteSearchAds360Link',
+ $argument,
+ ['\Google\Protobuf\GPBEmpty', 'decode'],
+ $metadata, $options);
+ }
+
+ /**
+ * Updates a SearchAds360Link on a property.
+ * @param \Google\Analytics\Admin\V1alpha\UpdateSearchAds360LinkRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function UpdateSearchAds360Link(\Google\Analytics\Admin\V1alpha\UpdateSearchAds360LinkRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateSearchAds360Link',
+ $argument,
+ ['\Google\Analytics\Admin\V1alpha\SearchAds360Link', 'decode'],
+ $metadata, $options);
+ }
+
/**
* Lookup for a AttributionSettings singleton.
* @param \Google\Analytics\Admin\V1alpha\GetAttributionSettingsRequest $argument input argument
@@ -1298,4 +1375,68 @@ public function RunAccessReport(\Google\Analytics\Admin\V1alpha\RunAccessReportR
$metadata, $options);
}
+ /**
+ * Sets the opt out status for the automated GA4 setup process for a UA
+ * property.
+ * Note: this has no effect on GA4 property.
+ * @param \Google\Analytics\Admin\V1alpha\SetAutomatedGa4ConfigurationOptOutRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function SetAutomatedGa4ConfigurationOptOut(\Google\Analytics\Admin\V1alpha\SetAutomatedGa4ConfigurationOptOutRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/SetAutomatedGa4ConfigurationOptOut',
+ $argument,
+ ['\Google\Analytics\Admin\V1alpha\SetAutomatedGa4ConfigurationOptOutResponse', 'decode'],
+ $metadata, $options);
+ }
+
+ /**
+ * Fetches the opt out status for the automated GA4 setup process for a UA
+ * property.
+ * Note: this has no effect on GA4 property.
+ * @param \Google\Analytics\Admin\V1alpha\FetchAutomatedGa4ConfigurationOptOutRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function FetchAutomatedGa4ConfigurationOptOut(\Google\Analytics\Admin\V1alpha\FetchAutomatedGa4ConfigurationOptOutRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/FetchAutomatedGa4ConfigurationOptOut',
+ $argument,
+ ['\Google\Analytics\Admin\V1alpha\FetchAutomatedGa4ConfigurationOptOutResponse', 'decode'],
+ $metadata, $options);
+ }
+
+ /**
+ * Lookup for a single BigQuery Link.
+ * @param \Google\Analytics\Admin\V1alpha\GetBigQueryLinkRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function GetBigQueryLink(\Google\Analytics\Admin\V1alpha\GetBigQueryLinkRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetBigQueryLink',
+ $argument,
+ ['\Google\Analytics\Admin\V1alpha\BigQueryLink', 'decode'],
+ $metadata, $options);
+ }
+
+ /**
+ * Lists BigQuery Links on a property.
+ * @param \Google\Analytics\Admin\V1alpha\ListBigQueryLinksRequest $argument input argument
+ * @param array $metadata metadata
+ * @param array $options call options
+ * @return \Grpc\UnaryCall
+ */
+ public function ListBigQueryLinks(\Google\Analytics\Admin\V1alpha\ListBigQueryLinksRequest $argument,
+ $metadata = [], $options = []) {
+ return $this->_simpleRequest('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListBigQueryLinks',
+ $argument,
+ ['\Google\Analytics\Admin\V1alpha\ListBigQueryLinksResponse', 'decode'],
+ $metadata, $options);
+ }
+
}
diff --git a/AnalyticsAdmin/src/V1alpha/AttributionSettings.php b/AnalyticsAdmin/src/V1alpha/AttributionSettings.php
index 4612c5806b7..12d31718311 100644
--- a/AnalyticsAdmin/src/V1alpha/AttributionSettings.php
+++ b/AnalyticsAdmin/src/V1alpha/AttributionSettings.php
@@ -25,22 +25,22 @@ class AttributionSettings extends \Google\Protobuf\Internal\Message
*/
private $name = '';
/**
- * Required. The lookback window configuration for acquisition conversion events.
- * The default window size is 30 days.
+ * Required. The lookback window configuration for acquisition conversion
+ * events. The default window size is 30 days.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
*/
private $acquisition_conversion_event_lookback_window = 0;
/**
- * Required. The lookback window for all other, non-acquisition conversion events.
- * The default window size is 90 days.
+ * Required. The lookback window for all other, non-acquisition conversion
+ * events. The default window size is 90 days.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
*/
private $other_conversion_event_lookback_window = 0;
/**
- * Required. The reporting attribution model used to calculate conversion credit in this
- * property's reports.
+ * Required. The reporting attribution model used to calculate conversion
+ * credit in this property's reports.
* Changing the attribution model will apply to both historical and future
* data. These changes will be reflected in reports with conversion and
* revenue data. User and session data will be unaffected.
@@ -60,14 +60,14 @@ class AttributionSettings extends \Google\Protobuf\Internal\Message
* Format: properties/{property_id}/attributionSettings
* Example: "properties/1000/attributionSettings"
* @type int $acquisition_conversion_event_lookback_window
- * Required. The lookback window configuration for acquisition conversion events.
- * The default window size is 30 days.
+ * Required. The lookback window configuration for acquisition conversion
+ * events. The default window size is 30 days.
* @type int $other_conversion_event_lookback_window
- * Required. The lookback window for all other, non-acquisition conversion events.
- * The default window size is 90 days.
+ * Required. The lookback window for all other, non-acquisition conversion
+ * events. The default window size is 90 days.
* @type int $reporting_attribution_model
- * Required. The reporting attribution model used to calculate conversion credit in this
- * property's reports.
+ * Required. The reporting attribution model used to calculate conversion
+ * credit in this property's reports.
* Changing the attribution model will apply to both historical and future
* data. These changes will be reflected in reports with conversion and
* revenue data. User and session data will be unaffected.
@@ -109,8 +109,8 @@ public function setName($var)
}
/**
- * Required. The lookback window configuration for acquisition conversion events.
- * The default window size is 30 days.
+ * Required. The lookback window configuration for acquisition conversion
+ * events. The default window size is 30 days.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
* @return int
@@ -121,8 +121,8 @@ public function getAcquisitionConversionEventLookbackWindow()
}
/**
- * Required. The lookback window configuration for acquisition conversion events.
- * The default window size is 30 days.
+ * Required. The lookback window configuration for acquisition conversion
+ * events. The default window size is 30 days.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.AcquisitionConversionEventLookbackWindow acquisition_conversion_event_lookback_window = 2 [(.google.api.field_behavior) = REQUIRED];
* @param int $var
@@ -137,8 +137,8 @@ public function setAcquisitionConversionEventLookbackWindow($var)
}
/**
- * Required. The lookback window for all other, non-acquisition conversion events.
- * The default window size is 90 days.
+ * Required. The lookback window for all other, non-acquisition conversion
+ * events. The default window size is 90 days.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
* @return int
@@ -149,8 +149,8 @@ public function getOtherConversionEventLookbackWindow()
}
/**
- * Required. The lookback window for all other, non-acquisition conversion events.
- * The default window size is 90 days.
+ * Required. The lookback window for all other, non-acquisition conversion
+ * events. The default window size is 90 days.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AttributionSettings.OtherConversionEventLookbackWindow other_conversion_event_lookback_window = 3 [(.google.api.field_behavior) = REQUIRED];
* @param int $var
@@ -165,8 +165,8 @@ public function setOtherConversionEventLookbackWindow($var)
}
/**
- * Required. The reporting attribution model used to calculate conversion credit in this
- * property's reports.
+ * Required. The reporting attribution model used to calculate conversion
+ * credit in this property's reports.
* Changing the attribution model will apply to both historical and future
* data. These changes will be reflected in reports with conversion and
* revenue data. User and session data will be unaffected.
@@ -180,8 +180,8 @@ public function getReportingAttributionModel()
}
/**
- * Required. The reporting attribution model used to calculate conversion credit in this
- * property's reports.
+ * Required. The reporting attribution model used to calculate conversion
+ * credit in this property's reports.
* Changing the attribution model will apply to both historical and future
* data. These changes will be reflected in reports with conversion and
* revenue data. User and session data will be unaffected.
diff --git a/AnalyticsAdmin/src/V1alpha/Audience.php b/AnalyticsAdmin/src/V1alpha/Audience.php
index e9385eb78d6..08ef4d3e94b 100644
--- a/AnalyticsAdmin/src/V1alpha/Audience.php
+++ b/AnalyticsAdmin/src/V1alpha/Audience.php
@@ -35,37 +35,37 @@ class Audience extends \Google\Protobuf\Internal\Message
*/
private $description = '';
/**
- * Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more
- * than 540 days.
+ * Required. Immutable. The duration a user should stay in an Audience. It
+ * cannot be set to more than 540 days.
*
* Generated from protobuf field int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*/
private $membership_duration_days = 0;
/**
- * Output only. It is automatically set by GA to false if this is an NPA Audience and is
- * excluded from ads personalization.
+ * Output only. It is automatically set by GA to false if this is an NPA
+ * Audience and is excluded from ads personalization.
*
* Generated from protobuf field bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
private $ads_personalization_enabled = false;
/**
- * Optional. Specifies an event to log when a user joins the Audience. If not set, no
- * event is logged when a user joins the Audience.
+ * Optional. Specifies an event to log when a user joins the Audience. If not
+ * set, no event is logged when a user joins the Audience.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
private $event_trigger = null;
/**
- * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
- * filter. It is applied to all EXCLUDE filter clauses and is ignored when
- * there is no EXCLUDE filter clause in the Audience.
+ * Immutable. Specifies how long an exclusion lasts for users that meet the
+ * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+ * ignored when there is no EXCLUDE filter clause in the Audience.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE];
*/
private $exclusion_duration_mode = 0;
/**
- * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
- * together.
+ * Required. Immutable. Unordered list. Filter clauses that define the
+ * Audience. All clauses will be AND’ed together.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
*/
@@ -85,21 +85,21 @@ class Audience extends \Google\Protobuf\Internal\Message
* @type string $description
* Required. The description of the Audience.
* @type int $membership_duration_days
- * Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more
- * than 540 days.
+ * Required. Immutable. The duration a user should stay in an Audience. It
+ * cannot be set to more than 540 days.
* @type bool $ads_personalization_enabled
- * Output only. It is automatically set by GA to false if this is an NPA Audience and is
- * excluded from ads personalization.
+ * Output only. It is automatically set by GA to false if this is an NPA
+ * Audience and is excluded from ads personalization.
* @type \Google\Analytics\Admin\V1alpha\AudienceEventTrigger $event_trigger
- * Optional. Specifies an event to log when a user joins the Audience. If not set, no
- * event is logged when a user joins the Audience.
+ * Optional. Specifies an event to log when a user joins the Audience. If not
+ * set, no event is logged when a user joins the Audience.
* @type int $exclusion_duration_mode
- * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
- * filter. It is applied to all EXCLUDE filter clauses and is ignored when
- * there is no EXCLUDE filter clause in the Audience.
+ * Immutable. Specifies how long an exclusion lasts for users that meet the
+ * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+ * ignored when there is no EXCLUDE filter clause in the Audience.
* @type array<\Google\Analytics\Admin\V1alpha\AudienceFilterClause>|\Google\Protobuf\Internal\RepeatedField $filter_clauses
- * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
- * together.
+ * Required. Immutable. Unordered list. Filter clauses that define the
+ * Audience. All clauses will be AND’ed together.
* }
*/
public function __construct($data = NULL) {
@@ -188,8 +188,8 @@ public function setDescription($var)
}
/**
- * Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more
- * than 540 days.
+ * Required. Immutable. The duration a user should stay in an Audience. It
+ * cannot be set to more than 540 days.
*
* Generated from protobuf field int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
* @return int
@@ -200,8 +200,8 @@ public function getMembershipDurationDays()
}
/**
- * Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more
- * than 540 days.
+ * Required. Immutable. The duration a user should stay in an Audience. It
+ * cannot be set to more than 540 days.
*
* Generated from protobuf field int32 membership_duration_days = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
* @param int $var
@@ -216,8 +216,8 @@ public function setMembershipDurationDays($var)
}
/**
- * Output only. It is automatically set by GA to false if this is an NPA Audience and is
- * excluded from ads personalization.
+ * Output only. It is automatically set by GA to false if this is an NPA
+ * Audience and is excluded from ads personalization.
*
* Generated from protobuf field bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return bool
@@ -228,8 +228,8 @@ public function getAdsPersonalizationEnabled()
}
/**
- * Output only. It is automatically set by GA to false if this is an NPA Audience and is
- * excluded from ads personalization.
+ * Output only. It is automatically set by GA to false if this is an NPA
+ * Audience and is excluded from ads personalization.
*
* Generated from protobuf field bool ads_personalization_enabled = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param bool $var
@@ -244,8 +244,8 @@ public function setAdsPersonalizationEnabled($var)
}
/**
- * Optional. Specifies an event to log when a user joins the Audience. If not set, no
- * event is logged when a user joins the Audience.
+ * Optional. Specifies an event to log when a user joins the Audience. If not
+ * set, no event is logged when a user joins the Audience.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL];
* @return \Google\Analytics\Admin\V1alpha\AudienceEventTrigger|null
@@ -266,8 +266,8 @@ public function clearEventTrigger()
}
/**
- * Optional. Specifies an event to log when a user joins the Audience. If not set, no
- * event is logged when a user joins the Audience.
+ * Optional. Specifies an event to log when a user joins the Audience. If not
+ * set, no event is logged when a user joins the Audience.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AudienceEventTrigger event_trigger = 6 [(.google.api.field_behavior) = OPTIONAL];
* @param \Google\Analytics\Admin\V1alpha\AudienceEventTrigger $var
@@ -282,9 +282,9 @@ public function setEventTrigger($var)
}
/**
- * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
- * filter. It is applied to all EXCLUDE filter clauses and is ignored when
- * there is no EXCLUDE filter clause in the Audience.
+ * Immutable. Specifies how long an exclusion lasts for users that meet the
+ * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+ * ignored when there is no EXCLUDE filter clause in the Audience.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE];
* @return int
@@ -295,9 +295,9 @@ public function getExclusionDurationMode()
}
/**
- * Immutable. Specifies how long an exclusion lasts for users that meet the exclusion
- * filter. It is applied to all EXCLUDE filter clauses and is ignored when
- * there is no EXCLUDE filter clause in the Audience.
+ * Immutable. Specifies how long an exclusion lasts for users that meet the
+ * exclusion filter. It is applied to all EXCLUDE filter clauses and is
+ * ignored when there is no EXCLUDE filter clause in the Audience.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.Audience.AudienceExclusionDurationMode exclusion_duration_mode = 7 [(.google.api.field_behavior) = IMMUTABLE];
* @param int $var
@@ -312,8 +312,8 @@ public function setExclusionDurationMode($var)
}
/**
- * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
- * together.
+ * Required. Immutable. Unordered list. Filter clauses that define the
+ * Audience. All clauses will be AND’ed together.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
* @return \Google\Protobuf\Internal\RepeatedField
@@ -324,8 +324,8 @@ public function getFilterClauses()
}
/**
- * Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed
- * together.
+ * Required. Immutable. Unordered list. Filter clauses that define the
+ * Audience. All clauses will be AND’ed together.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.AudienceFilterClause filter_clauses = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];
* @param array<\Google\Analytics\Admin\V1alpha\AudienceFilterClause>|\Google\Protobuf\Internal\RepeatedField $var
diff --git a/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter.php b/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter.php
index 032e9236fc9..442209a749a 100644
--- a/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter.php
+++ b/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter.php
@@ -22,8 +22,8 @@ class AudienceDimensionOrMetricFilter extends \Google\Protobuf\Internal\Message
*/
private $field_name = '';
/**
- * Optional. Indicates whether this filter needs dynamic evaluation or not. If set to
- * true, users join the Audience if they ever met the condition (static
+ * Optional. Indicates whether this filter needs dynamic evaluation or not. If
+ * set to true, users join the Audience if they ever met the condition (static
* evaluation). If unset or set to false, user evaluation for an Audience is
* dynamic; users are added to an Audience when they meet the conditions and
* then removed when they no longer meet them.
@@ -33,9 +33,9 @@ class AudienceDimensionOrMetricFilter extends \Google\Protobuf\Internal\Message
*/
private $at_any_point_in_time = false;
/**
- * Optional. If set, specifies the time window for which to evaluate data in number of
- * days. If not set, then audience data is evaluated against lifetime data
- * (i.e., infinite time window).
+ * Optional. If set, specifies the time window for which to evaluate data in
+ * number of days. If not set, then audience data is evaluated against
+ * lifetime data (i.e., infinite time window).
* For example, if set to 1 day, only the current day's data is evaluated. The
* reference point is the current day when at_any_point_in_time is unset or
* false.
@@ -66,16 +66,16 @@ class AudienceDimensionOrMetricFilter extends \Google\Protobuf\Internal\Message
* @type string $field_name
* Required. Immutable. The dimension name or metric name to filter.
* @type bool $at_any_point_in_time
- * Optional. Indicates whether this filter needs dynamic evaluation or not. If set to
- * true, users join the Audience if they ever met the condition (static
+ * Optional. Indicates whether this filter needs dynamic evaluation or not. If
+ * set to true, users join the Audience if they ever met the condition (static
* evaluation). If unset or set to false, user evaluation for an Audience is
* dynamic; users are added to an Audience when they meet the conditions and
* then removed when they no longer meet them.
* This can only be set when Audience scope is ACROSS_ALL_SESSIONS.
* @type int $in_any_n_day_period
- * Optional. If set, specifies the time window for which to evaluate data in number of
- * days. If not set, then audience data is evaluated against lifetime data
- * (i.e., infinite time window).
+ * Optional. If set, specifies the time window for which to evaluate data in
+ * number of days. If not set, then audience data is evaluated against
+ * lifetime data (i.e., infinite time window).
* For example, if set to 1 day, only the current day's data is evaluated. The
* reference point is the current day when at_any_point_in_time is unset or
* false.
@@ -243,8 +243,8 @@ public function setFieldName($var)
}
/**
- * Optional. Indicates whether this filter needs dynamic evaluation or not. If set to
- * true, users join the Audience if they ever met the condition (static
+ * Optional. Indicates whether this filter needs dynamic evaluation or not. If
+ * set to true, users join the Audience if they ever met the condition (static
* evaluation). If unset or set to false, user evaluation for an Audience is
* dynamic; users are added to an Audience when they meet the conditions and
* then removed when they no longer meet them.
@@ -259,8 +259,8 @@ public function getAtAnyPointInTime()
}
/**
- * Optional. Indicates whether this filter needs dynamic evaluation or not. If set to
- * true, users join the Audience if they ever met the condition (static
+ * Optional. Indicates whether this filter needs dynamic evaluation or not. If
+ * set to true, users join the Audience if they ever met the condition (static
* evaluation). If unset or set to false, user evaluation for an Audience is
* dynamic; users are added to an Audience when they meet the conditions and
* then removed when they no longer meet them.
@@ -279,9 +279,9 @@ public function setAtAnyPointInTime($var)
}
/**
- * Optional. If set, specifies the time window for which to evaluate data in number of
- * days. If not set, then audience data is evaluated against lifetime data
- * (i.e., infinite time window).
+ * Optional. If set, specifies the time window for which to evaluate data in
+ * number of days. If not set, then audience data is evaluated against
+ * lifetime data (i.e., infinite time window).
* For example, if set to 1 day, only the current day's data is evaluated. The
* reference point is the current day when at_any_point_in_time is unset or
* false.
@@ -297,9 +297,9 @@ public function getInAnyNDayPeriod()
}
/**
- * Optional. If set, specifies the time window for which to evaluate data in number of
- * days. If not set, then audience data is evaluated against lifetime data
- * (i.e., infinite time window).
+ * Optional. If set, specifies the time window for which to evaluate data in
+ * number of days. If not set, then audience data is evaluated against
+ * lifetime data (i.e., infinite time window).
* For example, if set to 1 day, only the current day's data is evaluated. The
* reference point is the current day when at_any_point_in_time is unset or
* false.
diff --git a/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter/InListFilter.php b/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter/InListFilter.php
index 6f23fca46cb..7c1e75a9f72 100644
--- a/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter/InListFilter.php
+++ b/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter/InListFilter.php
@@ -16,7 +16,8 @@
class InListFilter extends \Google\Protobuf\Internal\Message
{
/**
- * Required. The list of possible string values to match against. Must be non-empty.
+ * Required. The list of possible string values to match against. Must be
+ * non-empty.
*
* Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -36,7 +37,8 @@ class InListFilter extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type array|\Google\Protobuf\Internal\RepeatedField $values
- * Required. The list of possible string values to match against. Must be non-empty.
+ * Required. The list of possible string values to match against. Must be
+ * non-empty.
* @type bool $case_sensitive
* Optional. If true, the match is case-sensitive. If false, the match is
* case-insensitive.
@@ -48,7 +50,8 @@ public function __construct($data = NULL) {
}
/**
- * Required. The list of possible string values to match against. Must be non-empty.
+ * Required. The list of possible string values to match against. Must be
+ * non-empty.
*
* Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\Internal\RepeatedField
@@ -59,7 +62,8 @@ public function getValues()
}
/**
- * Required. The list of possible string values to match against. Must be non-empty.
+ * Required. The list of possible string values to match against. Must be
+ * non-empty.
*
* Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
* @param array|\Google\Protobuf\Internal\RepeatedField $var
diff --git a/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter/Operation.php b/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter/Operation.php
index b0e8d94e812..b2b52d8a9df 100644
--- a/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter/Operation.php
+++ b/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter/NumericFilter/Operation.php
@@ -31,32 +31,18 @@ class Operation
* Generated from protobuf enum LESS_THAN = 2;
*/
const LESS_THAN = 2;
- /**
- * Less than or equal.
- *
- * Generated from protobuf enum LESS_THAN_OR_EQUAL = 3;
- */
- const LESS_THAN_OR_EQUAL = 3;
/**
* Greater than.
*
* Generated from protobuf enum GREATER_THAN = 4;
*/
const GREATER_THAN = 4;
- /**
- * Greater than or equal.
- *
- * Generated from protobuf enum GREATER_THAN_OR_EQUAL = 5;
- */
- const GREATER_THAN_OR_EQUAL = 5;
private static $valueToName = [
self::OPERATION_UNSPECIFIED => 'OPERATION_UNSPECIFIED',
self::EQUAL => 'EQUAL',
self::LESS_THAN => 'LESS_THAN',
- self::LESS_THAN_OR_EQUAL => 'LESS_THAN_OR_EQUAL',
self::GREATER_THAN => 'GREATER_THAN',
- self::GREATER_THAN_OR_EQUAL => 'GREATER_THAN_OR_EQUAL',
];
public static function name($value)
diff --git a/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter/StringFilter/MatchType.php b/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter/StringFilter/MatchType.php
index 2cc04001c2b..105fe57e270 100644
--- a/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter/StringFilter/MatchType.php
+++ b/AnalyticsAdmin/src/V1alpha/AudienceDimensionOrMetricFilter/StringFilter/MatchType.php
@@ -49,12 +49,6 @@ class MatchType
* Generated from protobuf enum FULL_REGEXP = 5;
*/
const FULL_REGEXP = 5;
- /**
- * Partial regular expression matches with the string value.
- *
- * Generated from protobuf enum PARTIAL_REGEXP = 6;
- */
- const PARTIAL_REGEXP = 6;
private static $valueToName = [
self::MATCH_TYPE_UNSPECIFIED => 'MATCH_TYPE_UNSPECIFIED',
@@ -63,7 +57,6 @@ class MatchType
self::ENDS_WITH => 'ENDS_WITH',
self::CONTAINS => 'CONTAINS',
self::FULL_REGEXP => 'FULL_REGEXP',
- self::PARTIAL_REGEXP => 'PARTIAL_REGEXP',
];
public static function name($value)
diff --git a/AnalyticsAdmin/src/V1alpha/AudienceEventFilter.php b/AnalyticsAdmin/src/V1alpha/AudienceEventFilter.php
index a1db269c833..9368b9c2d5d 100644
--- a/AnalyticsAdmin/src/V1alpha/AudienceEventFilter.php
+++ b/AnalyticsAdmin/src/V1alpha/AudienceEventFilter.php
@@ -24,8 +24,8 @@ class AudienceEventFilter extends \Google\Protobuf\Internal\Message
*/
private $event_name = '';
/**
- * Optional. If specified, this filter matches events that match both the single
- * event name and the parameter filter expressions. AudienceEventFilter
+ * Optional. If specified, this filter matches events that match both the
+ * single event name and the parameter filter expressions. AudienceEventFilter
* inside the parameter filter expression cannot be set (i.e., nested
* event filters are not supported). This should be a single and_group of
* dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -45,8 +45,8 @@ class AudienceEventFilter extends \Google\Protobuf\Internal\Message
* @type string $event_name
* Required. Immutable. The name of the event to match against.
* @type \Google\Analytics\Admin\V1alpha\AudienceFilterExpression $event_parameter_filter_expression
- * Optional. If specified, this filter matches events that match both the single
- * event name and the parameter filter expressions. AudienceEventFilter
+ * Optional. If specified, this filter matches events that match both the
+ * single event name and the parameter filter expressions. AudienceEventFilter
* inside the parameter filter expression cannot be set (i.e., nested
* event filters are not supported). This should be a single and_group of
* dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -86,8 +86,8 @@ public function setEventName($var)
}
/**
- * Optional. If specified, this filter matches events that match both the single
- * event name and the parameter filter expressions. AudienceEventFilter
+ * Optional. If specified, this filter matches events that match both the
+ * single event name and the parameter filter expressions. AudienceEventFilter
* inside the parameter filter expression cannot be set (i.e., nested
* event filters are not supported). This should be a single and_group of
* dimension_or_metric_filter or not_expression; ANDs of ORs are not
@@ -113,8 +113,8 @@ public function clearEventParameterFilterExpression()
}
/**
- * Optional. If specified, this filter matches events that match both the single
- * event name and the parameter filter expressions. AudienceEventFilter
+ * Optional. If specified, this filter matches events that match both the
+ * single event name and the parameter filter expressions. AudienceEventFilter
* inside the parameter filter expression cannot be set (i.e., nested
* event filters are not supported). This should be a single and_group of
* dimension_or_metric_filter or not_expression; ANDs of ORs are not
diff --git a/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter.php b/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter.php
index 4ae9eef39a6..02a5d59b8d2 100644
--- a/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter.php
+++ b/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter.php
@@ -29,8 +29,8 @@ class AudienceSequenceFilter extends \Google\Protobuf\Internal\Message
*/
private $sequence_maximum_duration = null;
/**
- * Required. An ordered sequence of steps. A user must complete each step in order to
- * join the sequence filter.
+ * Required. An ordered sequence of steps. A user must complete each step in
+ * order to join the sequence filter.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -47,8 +47,8 @@ class AudienceSequenceFilter extends \Google\Protobuf\Internal\Message
* @type \Google\Protobuf\Duration $sequence_maximum_duration
* Optional. Defines the time period in which the whole sequence must occur.
* @type array<\Google\Analytics\Admin\V1alpha\AudienceSequenceFilter\AudienceSequenceStep>|\Google\Protobuf\Internal\RepeatedField $sequence_steps
- * Required. An ordered sequence of steps. A user must complete each step in order to
- * join the sequence filter.
+ * Required. An ordered sequence of steps. A user must complete each step in
+ * order to join the sequence filter.
* }
*/
public function __construct($data = NULL) {
@@ -119,8 +119,8 @@ public function setSequenceMaximumDuration($var)
}
/**
- * Required. An ordered sequence of steps. A user must complete each step in order to
- * join the sequence filter.
+ * Required. An ordered sequence of steps. A user must complete each step in
+ * order to join the sequence filter.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\Internal\RepeatedField
@@ -131,8 +131,8 @@ public function getSequenceSteps()
}
/**
- * Required. An ordered sequence of steps. A user must complete each step in order to
- * join the sequence filter.
+ * Required. An ordered sequence of steps. A user must complete each step in
+ * order to join the sequence filter.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];
* @param array<\Google\Analytics\Admin\V1alpha\AudienceSequenceFilter\AudienceSequenceStep>|\Google\Protobuf\Internal\RepeatedField $var
diff --git a/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php b/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php
index cbe5d2991b8..23754edd4e4 100644
--- a/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php
+++ b/AnalyticsAdmin/src/V1alpha/AudienceSequenceFilter/AudienceSequenceStep.php
@@ -23,8 +23,8 @@ class AudienceSequenceStep extends \Google\Protobuf\Internal\Message
*/
private $scope = 0;
/**
- * Optional. If true, the event satisfying this step must be the very next event
- * after the event satisfying the last step. If unset or false, this
+ * Optional. If true, the event satisfying this step must be the very next
+ * event after the event satisfying the last step. If unset or false, this
* step indirectly follows the prior step; for example, there may be
* events between the prior step and this step. It is ignored for the
* first step.
@@ -33,17 +33,17 @@ class AudienceSequenceStep extends \Google\Protobuf\Internal\Message
*/
private $immediately_follows = false;
/**
- * Optional. When set, this step must be satisfied within the constraint_duration of
- * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
- * set, there is no duration requirement (the duration is effectively
- * unlimited). It is ignored for the first step.
+ * Optional. When set, this step must be satisfied within the
+ * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+ * constraint_duration). If not set, there is no duration requirement (the
+ * duration is effectively unlimited). It is ignored for the first step.
*
* Generated from protobuf field .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
*/
private $constraint_duration = null;
/**
- * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
- * each step.
+ * Required. Immutable. A logical expression of Audience dimension, metric,
+ * or event filters in each step.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*/
@@ -58,19 +58,19 @@ class AudienceSequenceStep extends \Google\Protobuf\Internal\Message
* @type int $scope
* Required. Immutable. Specifies the scope for this step.
* @type bool $immediately_follows
- * Optional. If true, the event satisfying this step must be the very next event
- * after the event satisfying the last step. If unset or false, this
+ * Optional. If true, the event satisfying this step must be the very next
+ * event after the event satisfying the last step. If unset or false, this
* step indirectly follows the prior step; for example, there may be
* events between the prior step and this step. It is ignored for the
* first step.
* @type \Google\Protobuf\Duration $constraint_duration
- * Optional. When set, this step must be satisfied within the constraint_duration of
- * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
- * set, there is no duration requirement (the duration is effectively
- * unlimited). It is ignored for the first step.
+ * Optional. When set, this step must be satisfied within the
+ * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+ * constraint_duration). If not set, there is no duration requirement (the
+ * duration is effectively unlimited). It is ignored for the first step.
* @type \Google\Analytics\Admin\V1alpha\AudienceFilterExpression $filter_expression
- * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
- * each step.
+ * Required. Immutable. A logical expression of Audience dimension, metric,
+ * or event filters in each step.
* }
*/
public function __construct($data = NULL) {
@@ -105,8 +105,8 @@ public function setScope($var)
}
/**
- * Optional. If true, the event satisfying this step must be the very next event
- * after the event satisfying the last step. If unset or false, this
+ * Optional. If true, the event satisfying this step must be the very next
+ * event after the event satisfying the last step. If unset or false, this
* step indirectly follows the prior step; for example, there may be
* events between the prior step and this step. It is ignored for the
* first step.
@@ -120,8 +120,8 @@ public function getImmediatelyFollows()
}
/**
- * Optional. If true, the event satisfying this step must be the very next event
- * after the event satisfying the last step. If unset or false, this
+ * Optional. If true, the event satisfying this step must be the very next
+ * event after the event satisfying the last step. If unset or false, this
* step indirectly follows the prior step; for example, there may be
* events between the prior step and this step. It is ignored for the
* first step.
@@ -139,10 +139,10 @@ public function setImmediatelyFollows($var)
}
/**
- * Optional. When set, this step must be satisfied within the constraint_duration of
- * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
- * set, there is no duration requirement (the duration is effectively
- * unlimited). It is ignored for the first step.
+ * Optional. When set, this step must be satisfied within the
+ * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+ * constraint_duration). If not set, there is no duration requirement (the
+ * duration is effectively unlimited). It is ignored for the first step.
*
* Generated from protobuf field .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
* @return \Google\Protobuf\Duration|null
@@ -163,10 +163,10 @@ public function clearConstraintDuration()
}
/**
- * Optional. When set, this step must be satisfied within the constraint_duration of
- * the previous step (i.e., t[i] - t[i-1] <= constraint_duration). If not
- * set, there is no duration requirement (the duration is effectively
- * unlimited). It is ignored for the first step.
+ * Optional. When set, this step must be satisfied within the
+ * constraint_duration of the previous step (i.e., t[i] - t[i-1] <=
+ * constraint_duration). If not set, there is no duration requirement (the
+ * duration is effectively unlimited). It is ignored for the first step.
*
* Generated from protobuf field .google.protobuf.Duration constraint_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
* @param \Google\Protobuf\Duration $var
@@ -181,8 +181,8 @@ public function setConstraintDuration($var)
}
/**
- * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
- * each step.
+ * Required. Immutable. A logical expression of Audience dimension, metric,
+ * or event filters in each step.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
* @return \Google\Analytics\Admin\V1alpha\AudienceFilterExpression|null
@@ -203,8 +203,8 @@ public function clearFilterExpression()
}
/**
- * Required. Immutable. A logical expression of Audience dimension, metric, or event filters in
- * each step.
+ * Required. Immutable. A logical expression of Audience dimension, metric,
+ * or event filters in each step.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
* @param \Google\Analytics\Admin\V1alpha\AudienceFilterExpression $var
diff --git a/AnalyticsAdmin/src/V1alpha/AudienceSimpleFilter.php b/AnalyticsAdmin/src/V1alpha/AudienceSimpleFilter.php
index b17208a329c..925fe55caf6 100644
--- a/AnalyticsAdmin/src/V1alpha/AudienceSimpleFilter.php
+++ b/AnalyticsAdmin/src/V1alpha/AudienceSimpleFilter.php
@@ -23,7 +23,8 @@ class AudienceSimpleFilter extends \Google\Protobuf\Internal\Message
*/
private $scope = 0;
/**
- * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+ * Required. Immutable. A logical expression of Audience dimension, metric, or
+ * event filters.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
*/
@@ -38,7 +39,8 @@ class AudienceSimpleFilter extends \Google\Protobuf\Internal\Message
* @type int $scope
* Required. Immutable. Specifies the scope for this filter.
* @type \Google\Analytics\Admin\V1alpha\AudienceFilterExpression $filter_expression
- * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+ * Required. Immutable. A logical expression of Audience dimension, metric, or
+ * event filters.
* }
*/
public function __construct($data = NULL) {
@@ -73,7 +75,8 @@ public function setScope($var)
}
/**
- * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+ * Required. Immutable. A logical expression of Audience dimension, metric, or
+ * event filters.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
* @return \Google\Analytics\Admin\V1alpha\AudienceFilterExpression|null
@@ -94,7 +97,8 @@ public function clearFilterExpression()
}
/**
- * Required. Immutable. A logical expression of Audience dimension, metric, or event filters.
+ * Required. Immutable. A logical expression of Audience dimension, metric, or
+ * event filters.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.AudienceFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
* @param \Google\Analytics\Admin\V1alpha\AudienceFilterExpression $var
diff --git a/AnalyticsAdmin/src/V1alpha/BatchCreateUserLinksRequest.php b/AnalyticsAdmin/src/V1alpha/BatchCreateUserLinksRequest.php
index 6161645eddb..1d37d649b01 100644
--- a/AnalyticsAdmin/src/V1alpha/BatchCreateUserLinksRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/BatchCreateUserLinksRequest.php
@@ -16,8 +16,8 @@
class BatchCreateUserLinksRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required. The account or property that all user links in the request are for.
- * This field is required. The parent field in the CreateUserLinkRequest
+ * Required. The account or property that all user links in the request are
+ * for. This field is required. The parent field in the CreateUserLinkRequest
* messages must either be empty or match this field.
* Example format: accounts/1234
*
@@ -25,9 +25,9 @@ class BatchCreateUserLinksRequest extends \Google\Protobuf\Internal\Message
*/
private $parent = '';
/**
- * Optional. If set, then email the new users notifying them that they've been granted
- * permissions to the resource. Regardless of whether this is set or not,
- * notify_new_user field inside each individual request is ignored.
+ * Optional. If set, then email the new users notifying them that they've been
+ * granted permissions to the resource. Regardless of whether this is set or
+ * not, notify_new_user field inside each individual request is ignored.
*
* Generated from protobuf field bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -47,14 +47,14 @@ class BatchCreateUserLinksRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $parent
- * Required. The account or property that all user links in the request are for.
- * This field is required. The parent field in the CreateUserLinkRequest
+ * Required. The account or property that all user links in the request are
+ * for. This field is required. The parent field in the CreateUserLinkRequest
* messages must either be empty or match this field.
* Example format: accounts/1234
* @type bool $notify_new_users
- * Optional. If set, then email the new users notifying them that they've been granted
- * permissions to the resource. Regardless of whether this is set or not,
- * notify_new_user field inside each individual request is ignored.
+ * Optional. If set, then email the new users notifying them that they've been
+ * granted permissions to the resource. Regardless of whether this is set or
+ * not, notify_new_user field inside each individual request is ignored.
* @type array<\Google\Analytics\Admin\V1alpha\CreateUserLinkRequest>|\Google\Protobuf\Internal\RepeatedField $requests
* Required. The requests specifying the user links to create.
* A maximum of 1000 user links can be created in a batch.
@@ -66,8 +66,8 @@ public function __construct($data = NULL) {
}
/**
- * Required. The account or property that all user links in the request are for.
- * This field is required. The parent field in the CreateUserLinkRequest
+ * Required. The account or property that all user links in the request are
+ * for. This field is required. The parent field in the CreateUserLinkRequest
* messages must either be empty or match this field.
* Example format: accounts/1234
*
@@ -80,8 +80,8 @@ public function getParent()
}
/**
- * Required. The account or property that all user links in the request are for.
- * This field is required. The parent field in the CreateUserLinkRequest
+ * Required. The account or property that all user links in the request are
+ * for. This field is required. The parent field in the CreateUserLinkRequest
* messages must either be empty or match this field.
* Example format: accounts/1234
*
@@ -98,9 +98,9 @@ public function setParent($var)
}
/**
- * Optional. If set, then email the new users notifying them that they've been granted
- * permissions to the resource. Regardless of whether this is set or not,
- * notify_new_user field inside each individual request is ignored.
+ * Optional. If set, then email the new users notifying them that they've been
+ * granted permissions to the resource. Regardless of whether this is set or
+ * not, notify_new_user field inside each individual request is ignored.
*
* Generated from protobuf field bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL];
* @return bool
@@ -111,9 +111,9 @@ public function getNotifyNewUsers()
}
/**
- * Optional. If set, then email the new users notifying them that they've been granted
- * permissions to the resource. Regardless of whether this is set or not,
- * notify_new_user field inside each individual request is ignored.
+ * Optional. If set, then email the new users notifying them that they've been
+ * granted permissions to the resource. Regardless of whether this is set or
+ * not, notify_new_user field inside each individual request is ignored.
*
* Generated from protobuf field bool notify_new_users = 2 [(.google.api.field_behavior) = OPTIONAL];
* @param bool $var
diff --git a/AnalyticsAdmin/src/V1alpha/BigQueryLink.php b/AnalyticsAdmin/src/V1alpha/BigQueryLink.php
new file mode 100644
index 00000000000..28e73a038f8
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/BigQueryLink.php
@@ -0,0 +1,359 @@
+google.analytics.admin.v1alpha.BigQueryLink
+ */
+class BigQueryLink extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Resource name of this BigQuery link.
+ * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+ * Format: 'properties/1234/bigQueryLinks/abc567'
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $name = '';
+ /**
+ * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+ * you may provide this resource name using either a project number or project
+ * ID. Once this resource has been created, the returned project will always
+ * have a project that contains a project number.
+ * Format: 'projects/{project number}'
+ * Example: 'projects/1234'
+ *
+ * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = IMMUTABLE];
+ */
+ private $project = '';
+ /**
+ * Output only. Time when the link was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $create_time = null;
+ /**
+ * If set true, enables daily data export to the linked Google Cloud project.
+ *
+ * Generated from protobuf field bool daily_export_enabled = 4;
+ */
+ private $daily_export_enabled = false;
+ /**
+ * If set true, enables streaming export to the linked Google Cloud project.
+ *
+ * Generated from protobuf field bool streaming_export_enabled = 5;
+ */
+ private $streaming_export_enabled = false;
+ /**
+ * If set true, exported data will include advertising identifiers for mobile
+ * app streams.
+ *
+ * Generated from protobuf field bool include_advertising_id = 6;
+ */
+ private $include_advertising_id = false;
+ /**
+ * The list of streams under the parent property for which data will be
+ * exported.
+ * Format: properties/{property_id}/dataStreams/{stream_id}
+ * Example: ['properties/1000/dataStreams/2000']
+ *
+ * Generated from protobuf field repeated string export_streams = 7;
+ */
+ private $export_streams;
+ /**
+ * The list of event names that will be excluded from exports.
+ *
+ * Generated from protobuf field repeated string excluded_events = 8;
+ */
+ private $excluded_events;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. Resource name of this BigQuery link.
+ * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+ * Format: 'properties/1234/bigQueryLinks/abc567'
+ * @type string $project
+ * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+ * you may provide this resource name using either a project number or project
+ * ID. Once this resource has been created, the returned project will always
+ * have a project that contains a project number.
+ * Format: 'projects/{project number}'
+ * Example: 'projects/1234'
+ * @type \Google\Protobuf\Timestamp $create_time
+ * Output only. Time when the link was created.
+ * @type bool $daily_export_enabled
+ * If set true, enables daily data export to the linked Google Cloud project.
+ * @type bool $streaming_export_enabled
+ * If set true, enables streaming export to the linked Google Cloud project.
+ * @type bool $include_advertising_id
+ * If set true, exported data will include advertising identifiers for mobile
+ * app streams.
+ * @type array|\Google\Protobuf\Internal\RepeatedField $export_streams
+ * The list of streams under the parent property for which data will be
+ * exported.
+ * Format: properties/{property_id}/dataStreams/{stream_id}
+ * Example: ['properties/1000/dataStreams/2000']
+ * @type array|\Google\Protobuf\Internal\RepeatedField $excluded_events
+ * The list of event names that will be excluded from exports.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Resource name of this BigQuery link.
+ * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+ * Format: 'properties/1234/bigQueryLinks/abc567'
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. Resource name of this BigQuery link.
+ * Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
+ * Format: 'properties/1234/bigQueryLinks/abc567'
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+ * you may provide this resource name using either a project number or project
+ * ID. Once this resource has been created, the returned project will always
+ * have a project that contains a project number.
+ * Format: 'projects/{project number}'
+ * Example: 'projects/1234'
+ *
+ * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = IMMUTABLE];
+ * @return string
+ */
+ public function getProject()
+ {
+ return $this->project;
+ }
+
+ /**
+ * Immutable. The linked Google Cloud project. When creating a BigQueryLink,
+ * you may provide this resource name using either a project number or project
+ * ID. Once this resource has been created, the returned project will always
+ * have a project that contains a project number.
+ * Format: 'projects/{project number}'
+ * Example: 'projects/1234'
+ *
+ * Generated from protobuf field string project = 2 [(.google.api.field_behavior) = IMMUTABLE];
+ * @param string $var
+ * @return $this
+ */
+ public function setProject($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->project = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Time when the link was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getCreateTime()
+ {
+ return $this->create_time;
+ }
+
+ public function hasCreateTime()
+ {
+ return isset($this->create_time);
+ }
+
+ public function clearCreateTime()
+ {
+ unset($this->create_time);
+ }
+
+ /**
+ * Output only. Time when the link was created.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setCreateTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->create_time = $var;
+
+ return $this;
+ }
+
+ /**
+ * If set true, enables daily data export to the linked Google Cloud project.
+ *
+ * Generated from protobuf field bool daily_export_enabled = 4;
+ * @return bool
+ */
+ public function getDailyExportEnabled()
+ {
+ return $this->daily_export_enabled;
+ }
+
+ /**
+ * If set true, enables daily data export to the linked Google Cloud project.
+ *
+ * Generated from protobuf field bool daily_export_enabled = 4;
+ * @param bool $var
+ * @return $this
+ */
+ public function setDailyExportEnabled($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->daily_export_enabled = $var;
+
+ return $this;
+ }
+
+ /**
+ * If set true, enables streaming export to the linked Google Cloud project.
+ *
+ * Generated from protobuf field bool streaming_export_enabled = 5;
+ * @return bool
+ */
+ public function getStreamingExportEnabled()
+ {
+ return $this->streaming_export_enabled;
+ }
+
+ /**
+ * If set true, enables streaming export to the linked Google Cloud project.
+ *
+ * Generated from protobuf field bool streaming_export_enabled = 5;
+ * @param bool $var
+ * @return $this
+ */
+ public function setStreamingExportEnabled($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->streaming_export_enabled = $var;
+
+ return $this;
+ }
+
+ /**
+ * If set true, exported data will include advertising identifiers for mobile
+ * app streams.
+ *
+ * Generated from protobuf field bool include_advertising_id = 6;
+ * @return bool
+ */
+ public function getIncludeAdvertisingId()
+ {
+ return $this->include_advertising_id;
+ }
+
+ /**
+ * If set true, exported data will include advertising identifiers for mobile
+ * app streams.
+ *
+ * Generated from protobuf field bool include_advertising_id = 6;
+ * @param bool $var
+ * @return $this
+ */
+ public function setIncludeAdvertisingId($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->include_advertising_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * The list of streams under the parent property for which data will be
+ * exported.
+ * Format: properties/{property_id}/dataStreams/{stream_id}
+ * Example: ['properties/1000/dataStreams/2000']
+ *
+ * Generated from protobuf field repeated string export_streams = 7;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getExportStreams()
+ {
+ return $this->export_streams;
+ }
+
+ /**
+ * The list of streams under the parent property for which data will be
+ * exported.
+ * Format: properties/{property_id}/dataStreams/{stream_id}
+ * Example: ['properties/1000/dataStreams/2000']
+ *
+ * Generated from protobuf field repeated string export_streams = 7;
+ * @param array|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setExportStreams($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->export_streams = $arr;
+
+ return $this;
+ }
+
+ /**
+ * The list of event names that will be excluded from exports.
+ *
+ * Generated from protobuf field repeated string excluded_events = 8;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getExcludedEvents()
+ {
+ return $this->excluded_events;
+ }
+
+ /**
+ * The list of event names that will be excluded from exports.
+ *
+ * Generated from protobuf field repeated string excluded_events = 8;
+ * @param array|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setExcludedEvents($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->excluded_events = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php b/AnalyticsAdmin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php
index a858c92e085..72d07549d65 100644
--- a/AnalyticsAdmin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php
+++ b/AnalyticsAdmin/src/V1alpha/ChangeHistoryChange/ChangeHistoryResource.php
@@ -50,10 +50,16 @@ class ChangeHistoryResource extends \Google\Protobuf\Internal\Message
* A snapshot of a CustomMetric resource in change history.
* @type \Google\Analytics\Admin\V1alpha\DataRetentionSettings $data_retention_settings
* A snapshot of a data retention settings resource in change history.
+ * @type \Google\Analytics\Admin\V1alpha\SearchAds360Link $search_ads_360_link
+ * A snapshot of a SearchAds360Link resource in change history.
* @type \Google\Analytics\Admin\V1alpha\DataStream $data_stream
* A snapshot of a DataStream resource in change history.
* @type \Google\Analytics\Admin\V1alpha\AttributionSettings $attribution_settings
* A snapshot of AttributionSettings resource in change history.
+ * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSet $expanded_data_set
+ * A snapshot of an ExpandedDataSet resource in change history.
+ * @type \Google\Analytics\Admin\V1alpha\BigQueryLink $bigquery_link
+ * A snapshot of a BigQuery link resource in change history.
* }
*/
public function __construct($data = NULL) {
@@ -437,6 +443,37 @@ public function setDataRetentionSettings($var)
return $this;
}
+ /**
+ * A snapshot of a SearchAds360Link resource in change history.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16;
+ * @return \Google\Analytics\Admin\V1alpha\SearchAds360Link|null
+ */
+ public function getSearchAds360Link()
+ {
+ return $this->readOneof(16);
+ }
+
+ public function hasSearchAds360Link()
+ {
+ return $this->hasOneof(16);
+ }
+
+ /**
+ * A snapshot of a SearchAds360Link resource in change history.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 16;
+ * @param \Google\Analytics\Admin\V1alpha\SearchAds360Link $var
+ * @return $this
+ */
+ public function setSearchAds360Link($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SearchAds360Link::class);
+ $this->writeOneof(16, $var);
+
+ return $this;
+ }
+
/**
* A snapshot of a DataStream resource in change history.
*
@@ -499,6 +536,68 @@ public function setAttributionSettings($var)
return $this;
}
+ /**
+ * A snapshot of an ExpandedDataSet resource in change history.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21;
+ * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSet|null
+ */
+ public function getExpandedDataSet()
+ {
+ return $this->readOneof(21);
+ }
+
+ public function hasExpandedDataSet()
+ {
+ return $this->hasOneof(21);
+ }
+
+ /**
+ * A snapshot of an ExpandedDataSet resource in change history.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSet expanded_data_set = 21;
+ * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSet $var
+ * @return $this
+ */
+ public function setExpandedDataSet($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ExpandedDataSet::class);
+ $this->writeOneof(21, $var);
+
+ return $this;
+ }
+
+ /**
+ * A snapshot of a BigQuery link resource in change history.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23;
+ * @return \Google\Analytics\Admin\V1alpha\BigQueryLink|null
+ */
+ public function getBigqueryLink()
+ {
+ return $this->readOneof(23);
+ }
+
+ public function hasBigqueryLink()
+ {
+ return $this->hasOneof(23);
+ }
+
+ /**
+ * A snapshot of a BigQuery link resource in change history.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.BigQueryLink bigquery_link = 23;
+ * @param \Google\Analytics\Admin\V1alpha\BigQueryLink $var
+ * @return $this
+ */
+ public function setBigqueryLink($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\BigQueryLink::class);
+ $this->writeOneof(23, $var);
+
+ return $this;
+ }
+
/**
* @return string
*/
diff --git a/AnalyticsAdmin/src/V1alpha/ChangeHistoryResourceType.php b/AnalyticsAdmin/src/V1alpha/ChangeHistoryResourceType.php
index cbefbc1fa32..9cbc0dfc993 100644
--- a/AnalyticsAdmin/src/V1alpha/ChangeHistoryResourceType.php
+++ b/AnalyticsAdmin/src/V1alpha/ChangeHistoryResourceType.php
@@ -109,6 +109,18 @@ class ChangeHistoryResourceType
* Generated from protobuf enum ATTRIBUTION_SETTINGS = 20;
*/
const ATTRIBUTION_SETTINGS = 20;
+ /**
+ * ExpandedDataSet resource
+ *
+ * Generated from protobuf enum EXPANDED_DATA_SET = 21;
+ */
+ const EXPANDED_DATA_SET = 21;
+ /**
+ * ChannelGroup resource
+ *
+ * Generated from protobuf enum CHANNEL_GROUP = 22;
+ */
+ const CHANNEL_GROUP = 22;
private static $valueToName = [
self::CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED => 'CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED',
@@ -127,6 +139,8 @@ class ChangeHistoryResourceType
self::SEARCH_ADS_360_LINK => 'SEARCH_ADS_360_LINK',
self::DATA_STREAM => 'DATA_STREAM',
self::ATTRIBUTION_SETTINGS => 'ATTRIBUTION_SETTINGS',
+ self::EXPANDED_DATA_SET => 'EXPANDED_DATA_SET',
+ self::CHANNEL_GROUP => 'CHANNEL_GROUP',
];
public static function name($value)
diff --git a/AnalyticsAdmin/src/V1alpha/ConversionEvent.php b/AnalyticsAdmin/src/V1alpha/ConversionEvent.php
index f7e8321e2ec..d4370b24788 100644
--- a/AnalyticsAdmin/src/V1alpha/ConversionEvent.php
+++ b/AnalyticsAdmin/src/V1alpha/ConversionEvent.php
@@ -36,17 +36,18 @@ class ConversionEvent extends \Google\Protobuf\Internal\Message
*/
private $create_time = null;
/**
- * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
+ * Output only. If set, this event can currently be deleted via
+ * DeleteConversionEvent.
*
* Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
private $deletable = false;
/**
- * Output only. If set to true, this conversion event refers to a custom event. If set to
- * false, this conversion event refers to a default event in GA. Default
- * events typically have special meaning in GA. Default events are usually
- * created for you by the GA system, but in some cases can be created by
- * property admins. Custom events count towards the maximum number of
+ * Output only. If set to true, this conversion event refers to a custom
+ * event. If set to false, this conversion event refers to a default event in
+ * GA. Default events typically have special meaning in GA. Default events are
+ * usually created for you by the GA system, but in some cases can be created
+ * by property admins. Custom events count towards the maximum number of
* custom conversion events that may be created per property.
*
* Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -68,13 +69,14 @@ class ConversionEvent extends \Google\Protobuf\Internal\Message
* @type \Google\Protobuf\Timestamp $create_time
* Output only. Time when this conversion event was created in the property.
* @type bool $deletable
- * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
+ * Output only. If set, this event can currently be deleted via
+ * DeleteConversionEvent.
* @type bool $custom
- * Output only. If set to true, this conversion event refers to a custom event. If set to
- * false, this conversion event refers to a default event in GA. Default
- * events typically have special meaning in GA. Default events are usually
- * created for you by the GA system, but in some cases can be created by
- * property admins. Custom events count towards the maximum number of
+ * Output only. If set to true, this conversion event refers to a custom
+ * event. If set to false, this conversion event refers to a default event in
+ * GA. Default events typically have special meaning in GA. Default events are
+ * usually created for you by the GA system, but in some cases can be created
+ * by property admins. Custom events count towards the maximum number of
* custom conversion events that may be created per property.
* }
*/
@@ -176,7 +178,8 @@ public function setCreateTime($var)
}
/**
- * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
+ * Output only. If set, this event can currently be deleted via
+ * DeleteConversionEvent.
*
* Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return bool
@@ -187,7 +190,8 @@ public function getDeletable()
}
/**
- * Output only. If set, this event can currently be deleted via DeleteConversionEvent.
+ * Output only. If set, this event can currently be deleted via
+ * DeleteConversionEvent.
*
* Generated from protobuf field bool deletable = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param bool $var
@@ -202,11 +206,11 @@ public function setDeletable($var)
}
/**
- * Output only. If set to true, this conversion event refers to a custom event. If set to
- * false, this conversion event refers to a default event in GA. Default
- * events typically have special meaning in GA. Default events are usually
- * created for you by the GA system, but in some cases can be created by
- * property admins. Custom events count towards the maximum number of
+ * Output only. If set to true, this conversion event refers to a custom
+ * event. If set to false, this conversion event refers to a default event in
+ * GA. Default events typically have special meaning in GA. Default events are
+ * usually created for you by the GA system, but in some cases can be created
+ * by property admins. Custom events count towards the maximum number of
* custom conversion events that may be created per property.
*
* Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -218,11 +222,11 @@ public function getCustom()
}
/**
- * Output only. If set to true, this conversion event refers to a custom event. If set to
- * false, this conversion event refers to a default event in GA. Default
- * events typically have special meaning in GA. Default events are usually
- * created for you by the GA system, but in some cases can be created by
- * property admins. Custom events count towards the maximum number of
+ * Output only. If set to true, this conversion event refers to a custom
+ * event. If set to false, this conversion event refers to a default event in
+ * GA. Default events typically have special meaning in GA. Default events are
+ * usually created for you by the GA system, but in some cases can be created
+ * by property admins. Custom events count towards the maximum number of
* custom conversion events that may be created per property.
*
* Generated from protobuf field bool custom = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/AnalyticsAdmin/src/V1alpha/CreateConversionEventRequest.php b/AnalyticsAdmin/src/V1alpha/CreateConversionEventRequest.php
index 3e124528b66..9cdaf7e5bf3 100644
--- a/AnalyticsAdmin/src/V1alpha/CreateConversionEventRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/CreateConversionEventRequest.php
@@ -22,8 +22,8 @@ class CreateConversionEventRequest extends \Google\Protobuf\Internal\Message
*/
private $conversion_event = null;
/**
- * Required. The resource name of the parent property where this conversion event will
- * be created. Format: properties/123
+ * Required. The resource name of the parent property where this conversion
+ * event will be created. Format: properties/123
*
* Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
@@ -38,8 +38,8 @@ class CreateConversionEventRequest extends \Google\Protobuf\Internal\Message
* @type \Google\Analytics\Admin\V1alpha\ConversionEvent $conversion_event
* Required. The conversion event to create.
* @type string $parent
- * Required. The resource name of the parent property where this conversion event will
- * be created. Format: properties/123
+ * Required. The resource name of the parent property where this conversion
+ * event will be created. Format: properties/123
* }
*/
public function __construct($data = NULL) {
@@ -84,8 +84,8 @@ public function setConversionEvent($var)
}
/**
- * Required. The resource name of the parent property where this conversion event will
- * be created. Format: properties/123
+ * Required. The resource name of the parent property where this conversion
+ * event will be created. Format: properties/123
*
* Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
* @return string
@@ -96,8 +96,8 @@ public function getParent()
}
/**
- * Required. The resource name of the parent property where this conversion event will
- * be created. Format: properties/123
+ * Required. The resource name of the parent property where this conversion
+ * event will be created. Format: properties/123
*
* Generated from protobuf field string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
* @param string $var
diff --git a/AnalyticsAdmin/src/V1alpha/CreateSearchAds360LinkRequest.php b/AnalyticsAdmin/src/V1alpha/CreateSearchAds360LinkRequest.php
new file mode 100644
index 00000000000..31844fc8ca2
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/CreateSearchAds360LinkRequest.php
@@ -0,0 +1,111 @@
+google.analytics.admin.v1alpha.CreateSearchAds360LinkRequest
+ */
+class CreateSearchAds360LinkRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Example format: properties/1234
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ private $parent = '';
+ /**
+ * Required. The SearchAds360Link to create.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ private $search_ads_360_link = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. Example format: properties/1234
+ * @type \Google\Analytics\Admin\V1alpha\SearchAds360Link $search_ads_360_link
+ * Required. The SearchAds360Link to create.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Example format: properties/1234
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. Example format: properties/1234
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The SearchAds360Link to create.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Analytics\Admin\V1alpha\SearchAds360Link|null
+ */
+ public function getSearchAds360Link()
+ {
+ return $this->search_ads_360_link;
+ }
+
+ public function hasSearchAds360Link()
+ {
+ return isset($this->search_ads_360_link);
+ }
+
+ public function clearSearchAds360Link()
+ {
+ unset($this->search_ads_360_link);
+ }
+
+ /**
+ * Required. The SearchAds360Link to create.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Analytics\Admin\V1alpha\SearchAds360Link $var
+ * @return $this
+ */
+ public function setSearchAds360Link($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SearchAds360Link::class);
+ $this->search_ads_360_link = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/CreateUserLinkRequest.php b/AnalyticsAdmin/src/V1alpha/CreateUserLinkRequest.php
index 60c86dc57e4..b7487e7a702 100644
--- a/AnalyticsAdmin/src/V1alpha/CreateUserLinkRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/CreateUserLinkRequest.php
@@ -28,8 +28,8 @@ class CreateUserLinkRequest extends \Google\Protobuf\Internal\Message
*/
private $parent = '';
/**
- * Optional. If set, then email the new user notifying them that they've been granted
- * permissions to the resource.
+ * Optional. If set, then email the new user notifying them that they've been
+ * granted permissions to the resource.
*
* Generated from protobuf field bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -50,8 +50,8 @@ class CreateUserLinkRequest extends \Google\Protobuf\Internal\Message
* @type string $parent
* Required. Example format: accounts/1234
* @type bool $notify_new_user
- * Optional. If set, then email the new user notifying them that they've been granted
- * permissions to the resource.
+ * Optional. If set, then email the new user notifying them that they've been
+ * granted permissions to the resource.
* @type \Google\Analytics\Admin\V1alpha\UserLink $user_link
* Required. The user link to create.
* }
@@ -88,8 +88,8 @@ public function setParent($var)
}
/**
- * Optional. If set, then email the new user notifying them that they've been granted
- * permissions to the resource.
+ * Optional. If set, then email the new user notifying them that they've been
+ * granted permissions to the resource.
*
* Generated from protobuf field bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL];
* @return bool
@@ -100,8 +100,8 @@ public function getNotifyNewUser()
}
/**
- * Optional. If set, then email the new user notifying them that they've been granted
- * permissions to the resource.
+ * Optional. If set, then email the new user notifying them that they've been
+ * granted permissions to the resource.
*
* Generated from protobuf field bool notify_new_user = 2 [(.google.api.field_behavior) = OPTIONAL];
* @param bool $var
diff --git a/AnalyticsAdmin/src/V1alpha/CustomDimension.php b/AnalyticsAdmin/src/V1alpha/CustomDimension.php
index 7e986d5b448..938a2cf559c 100644
--- a/AnalyticsAdmin/src/V1alpha/CustomDimension.php
+++ b/AnalyticsAdmin/src/V1alpha/CustomDimension.php
@@ -35,8 +35,8 @@ class CustomDimension extends \Google\Protobuf\Internal\Message
*/
private $parameter_name = '';
/**
- * Required. Display name for this custom dimension as shown in the Analytics UI.
- * Max length of 82 characters, alphanumeric plus space and underscore
+ * Required. Display name for this custom dimension as shown in the Analytics
+ * UI. Max length of 82 characters, alphanumeric plus space and underscore
* starting with a letter. Legacy system-generated display names may contain
* square brackets, but updates to this field will never permit square
* brackets.
@@ -45,7 +45,8 @@ class CustomDimension extends \Google\Protobuf\Internal\Message
*/
private $display_name = '';
/**
- * Optional. Description for this custom dimension. Max length of 150 characters.
+ * Optional. Description for this custom dimension. Max length of 150
+ * characters.
*
* Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -57,8 +58,8 @@ class CustomDimension extends \Google\Protobuf\Internal\Message
*/
private $scope = 0;
/**
- * Optional. If set to true, sets this dimension as NPA and excludes it from ads
- * personalization.
+ * Optional. If set to true, sets this dimension as NPA and excludes it from
+ * ads personalization.
* This is currently only supported by user-scoped custom dimensions.
*
* Generated from protobuf field bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL];
@@ -83,18 +84,19 @@ class CustomDimension extends \Google\Protobuf\Internal\Message
* letter. Max length of 24 characters for user-scoped dimensions, 40
* characters for event-scoped dimensions.
* @type string $display_name
- * Required. Display name for this custom dimension as shown in the Analytics UI.
- * Max length of 82 characters, alphanumeric plus space and underscore
+ * Required. Display name for this custom dimension as shown in the Analytics
+ * UI. Max length of 82 characters, alphanumeric plus space and underscore
* starting with a letter. Legacy system-generated display names may contain
* square brackets, but updates to this field will never permit square
* brackets.
* @type string $description
- * Optional. Description for this custom dimension. Max length of 150 characters.
+ * Optional. Description for this custom dimension. Max length of 150
+ * characters.
* @type int $scope
* Required. Immutable. The scope of this dimension.
* @type bool $disallow_ads_personalization
- * Optional. If set to true, sets this dimension as NPA and excludes it from ads
- * personalization.
+ * Optional. If set to true, sets this dimension as NPA and excludes it from
+ * ads personalization.
* This is currently only supported by user-scoped custom dimensions.
* }
*/
@@ -170,8 +172,8 @@ public function setParameterName($var)
}
/**
- * Required. Display name for this custom dimension as shown in the Analytics UI.
- * Max length of 82 characters, alphanumeric plus space and underscore
+ * Required. Display name for this custom dimension as shown in the Analytics
+ * UI. Max length of 82 characters, alphanumeric plus space and underscore
* starting with a letter. Legacy system-generated display names may contain
* square brackets, but updates to this field will never permit square
* brackets.
@@ -185,8 +187,8 @@ public function getDisplayName()
}
/**
- * Required. Display name for this custom dimension as shown in the Analytics UI.
- * Max length of 82 characters, alphanumeric plus space and underscore
+ * Required. Display name for this custom dimension as shown in the Analytics
+ * UI. Max length of 82 characters, alphanumeric plus space and underscore
* starting with a letter. Legacy system-generated display names may contain
* square brackets, but updates to this field will never permit square
* brackets.
@@ -204,7 +206,8 @@ public function setDisplayName($var)
}
/**
- * Optional. Description for this custom dimension. Max length of 150 characters.
+ * Optional. Description for this custom dimension. Max length of 150
+ * characters.
*
* Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL];
* @return string
@@ -215,7 +218,8 @@ public function getDescription()
}
/**
- * Optional. Description for this custom dimension. Max length of 150 characters.
+ * Optional. Description for this custom dimension. Max length of 150
+ * characters.
*
* Generated from protobuf field string description = 4 [(.google.api.field_behavior) = OPTIONAL];
* @param string $var
@@ -256,8 +260,8 @@ public function setScope($var)
}
/**
- * Optional. If set to true, sets this dimension as NPA and excludes it from ads
- * personalization.
+ * Optional. If set to true, sets this dimension as NPA and excludes it from
+ * ads personalization.
* This is currently only supported by user-scoped custom dimensions.
*
* Generated from protobuf field bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL];
@@ -269,8 +273,8 @@ public function getDisallowAdsPersonalization()
}
/**
- * Optional. If set to true, sets this dimension as NPA and excludes it from ads
- * personalization.
+ * Optional. If set to true, sets this dimension as NPA and excludes it from
+ * ads personalization.
* This is currently only supported by user-scoped custom dimensions.
*
* Generated from protobuf field bool disallow_ads_personalization = 6 [(.google.api.field_behavior) = OPTIONAL];
diff --git a/AnalyticsAdmin/src/V1alpha/CustomMetric.php b/AnalyticsAdmin/src/V1alpha/CustomMetric.php
index 48ee6a2ef44..5f623845d95 100644
--- a/AnalyticsAdmin/src/V1alpha/CustomMetric.php
+++ b/AnalyticsAdmin/src/V1alpha/CustomMetric.php
@@ -62,9 +62,9 @@ class CustomMetric extends \Google\Protobuf\Internal\Message
*/
private $scope = 0;
/**
- * Optional. Types of restricted data that this metric may contain. Required for metrics
- * with CURRENCY measurement unit. Must be empty for metrics with a
- * non-CURRENCY measurement unit.
+ * Optional. Types of restricted data that this metric may contain. Required
+ * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+ * a non-CURRENCY measurement unit.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -99,9 +99,9 @@ class CustomMetric extends \Google\Protobuf\Internal\Message
* @type int $scope
* Required. Immutable. The scope of this custom metric.
* @type array|\Google\Protobuf\Internal\RepeatedField $restricted_metric_type
- * Optional. Types of restricted data that this metric may contain. Required for metrics
- * with CURRENCY measurement unit. Must be empty for metrics with a
- * non-CURRENCY measurement unit.
+ * Optional. Types of restricted data that this metric may contain. Required
+ * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+ * a non-CURRENCY measurement unit.
* }
*/
public function __construct($data = NULL) {
@@ -286,9 +286,9 @@ public function setScope($var)
}
/**
- * Optional. Types of restricted data that this metric may contain. Required for metrics
- * with CURRENCY measurement unit. Must be empty for metrics with a
- * non-CURRENCY measurement unit.
+ * Optional. Types of restricted data that this metric may contain. Required
+ * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+ * a non-CURRENCY measurement unit.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL];
* @return \Google\Protobuf\Internal\RepeatedField
@@ -299,9 +299,9 @@ public function getRestrictedMetricType()
}
/**
- * Optional. Types of restricted data that this metric may contain. Required for metrics
- * with CURRENCY measurement unit. Must be empty for metrics with a
- * non-CURRENCY measurement unit.
+ * Optional. Types of restricted data that this metric may contain. Required
+ * for metrics with CURRENCY measurement unit. Must be empty for metrics with
+ * a non-CURRENCY measurement unit.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.CustomMetric.RestrictedMetricType restricted_metric_type = 8 [(.google.api.field_behavior) = OPTIONAL];
* @param array|\Google\Protobuf\Internal\RepeatedField $var
diff --git a/AnalyticsAdmin/src/V1alpha/DeleteSearchAds360LinkRequest.php b/AnalyticsAdmin/src/V1alpha/DeleteSearchAds360LinkRequest.php
new file mode 100644
index 00000000000..10b7096ba07
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/DeleteSearchAds360LinkRequest.php
@@ -0,0 +1,71 @@
+google.analytics.admin.v1alpha.DeleteSearchAds360LinkRequest
+ */
+class DeleteSearchAds360LinkRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the SearchAds360Link to delete.
+ * Example format: properties/1234/SearchAds360Links/5678
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ private $name = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The name of the SearchAds360Link to delete.
+ * Example format: properties/1234/SearchAds360Links/5678
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the SearchAds360Link to delete.
+ * Example format: properties/1234/SearchAds360Links/5678
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The name of the SearchAds360Link to delete.
+ * Example format: properties/1234/SearchAds360Links/5678
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLink.php b/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLink.php
index f6181f64a33..4ec08e4542f 100644
--- a/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLink.php
+++ b/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLink.php
@@ -16,8 +16,9 @@
class DisplayVideo360AdvertiserLink extends \Google\Protobuf\Internal\Message
{
/**
- * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
- * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+ * Output only. The resource name for this DisplayVideo360AdvertiserLink
+ * resource. Format:
+ * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
* Note: linkId is not the Display & Video 360 Advertiser ID
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -43,20 +44,20 @@ class DisplayVideo360AdvertiserLink extends \Google\Protobuf\Internal\Message
*/
private $ads_personalization_enabled = null;
/**
- * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
- * property. After link creation, this can only be updated from the Display &
- * Video 360 product.
- * If this field is not set on create, it will be defaulted to true.
+ * Immutable. Enables the import of campaign data from Display & Video 360
+ * into the GA4 property. After link creation, this can only be updated from
+ * the Display & Video 360 product. If this field is not set on create, it
+ * will be defaulted to true.
*
* Generated from protobuf field .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE];
*/
private $campaign_data_sharing_enabled = null;
/**
- * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
- * property. This can only be enabled if campaign_data_sharing_enabled is
- * enabled. After link creation, this can only be updated from the Display &
- * Video 360 product.
- * If this field is not set on create, it will be defaulted to true.
+ * Immutable. Enables the import of cost data from Display & Video 360 into
+ * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+ * is enabled. After link creation, this can only be updated from the Display
+ * & Video 360 product. If this field is not set on create, it will be
+ * defaulted to true.
*
* Generated from protobuf field .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE];
*/
@@ -69,8 +70,9 @@ class DisplayVideo360AdvertiserLink extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $name
- * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
- * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+ * Output only. The resource name for this DisplayVideo360AdvertiserLink
+ * resource. Format:
+ * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
* Note: linkId is not the Display & Video 360 Advertiser ID
* @type string $advertiser_id
* Immutable. The Display & Video 360 Advertiser's advertiser ID.
@@ -80,16 +82,16 @@ class DisplayVideo360AdvertiserLink extends \Google\Protobuf\Internal\Message
* Enables personalized advertising features with this integration.
* If this field is not set on create/update, it will be defaulted to true.
* @type \Google\Protobuf\BoolValue $campaign_data_sharing_enabled
- * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
- * property. After link creation, this can only be updated from the Display &
- * Video 360 product.
- * If this field is not set on create, it will be defaulted to true.
+ * Immutable. Enables the import of campaign data from Display & Video 360
+ * into the GA4 property. After link creation, this can only be updated from
+ * the Display & Video 360 product. If this field is not set on create, it
+ * will be defaulted to true.
* @type \Google\Protobuf\BoolValue $cost_data_sharing_enabled
- * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
- * property. This can only be enabled if campaign_data_sharing_enabled is
- * enabled. After link creation, this can only be updated from the Display &
- * Video 360 product.
- * If this field is not set on create, it will be defaulted to true.
+ * Immutable. Enables the import of cost data from Display & Video 360 into
+ * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+ * is enabled. After link creation, this can only be updated from the Display
+ * & Video 360 product. If this field is not set on create, it will be
+ * defaulted to true.
* }
*/
public function __construct($data = NULL) {
@@ -98,8 +100,9 @@ public function __construct($data = NULL) {
}
/**
- * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
- * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+ * Output only. The resource name for this DisplayVideo360AdvertiserLink
+ * resource. Format:
+ * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
* Note: linkId is not the Display & Video 360 Advertiser ID
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -111,8 +114,9 @@ public function getName()
}
/**
- * Output only. The resource name for this DisplayVideo360AdvertiserLink resource.
- * Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
+ * Output only. The resource name for this DisplayVideo360AdvertiserLink
+ * resource. Format:
+ * properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId}
* Note: linkId is not the Display & Video 360 Advertiser ID
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -247,10 +251,10 @@ public function setAdsPersonalizationEnabledValue($var)
return $this;}
/**
- * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
- * property. After link creation, this can only be updated from the Display &
- * Video 360 product.
- * If this field is not set on create, it will be defaulted to true.
+ * Immutable. Enables the import of campaign data from Display & Video 360
+ * into the GA4 property. After link creation, this can only be updated from
+ * the Display & Video 360 product. If this field is not set on create, it
+ * will be defaulted to true.
*
* Generated from protobuf field .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE];
* @return \Google\Protobuf\BoolValue|null
@@ -273,10 +277,10 @@ public function clearCampaignDataSharingEnabled()
/**
* Returns the unboxed value from getCampaignDataSharingEnabled()
- * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
- * property. After link creation, this can only be updated from the Display &
- * Video 360 product.
- * If this field is not set on create, it will be defaulted to true.
+ * Immutable. Enables the import of campaign data from Display & Video 360
+ * into the GA4 property. After link creation, this can only be updated from
+ * the Display & Video 360 product. If this field is not set on create, it
+ * will be defaulted to true.
*
* Generated from protobuf field .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE];
* @return bool|null
@@ -287,10 +291,10 @@ public function getCampaignDataSharingEnabledValue()
}
/**
- * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
- * property. After link creation, this can only be updated from the Display &
- * Video 360 product.
- * If this field is not set on create, it will be defaulted to true.
+ * Immutable. Enables the import of campaign data from Display & Video 360
+ * into the GA4 property. After link creation, this can only be updated from
+ * the Display & Video 360 product. If this field is not set on create, it
+ * will be defaulted to true.
*
* Generated from protobuf field .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE];
* @param \Google\Protobuf\BoolValue $var
@@ -307,10 +311,10 @@ public function setCampaignDataSharingEnabled($var)
/**
* Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
- * Immutable. Enables the import of campaign data from Display & Video 360 into the GA4
- * property. After link creation, this can only be updated from the Display &
- * Video 360 product.
- * If this field is not set on create, it will be defaulted to true.
+ * Immutable. Enables the import of campaign data from Display & Video 360
+ * into the GA4 property. After link creation, this can only be updated from
+ * the Display & Video 360 product. If this field is not set on create, it
+ * will be defaulted to true.
*
* Generated from protobuf field .google.protobuf.BoolValue campaign_data_sharing_enabled = 5 [(.google.api.field_behavior) = IMMUTABLE];
* @param bool|null $var
@@ -322,11 +326,11 @@ public function setCampaignDataSharingEnabledValue($var)
return $this;}
/**
- * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
- * property. This can only be enabled if campaign_data_sharing_enabled is
- * enabled. After link creation, this can only be updated from the Display &
- * Video 360 product.
- * If this field is not set on create, it will be defaulted to true.
+ * Immutable. Enables the import of cost data from Display & Video 360 into
+ * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+ * is enabled. After link creation, this can only be updated from the Display
+ * & Video 360 product. If this field is not set on create, it will be
+ * defaulted to true.
*
* Generated from protobuf field .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE];
* @return \Google\Protobuf\BoolValue|null
@@ -349,11 +353,11 @@ public function clearCostDataSharingEnabled()
/**
* Returns the unboxed value from getCostDataSharingEnabled()
- * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
- * property. This can only be enabled if campaign_data_sharing_enabled is
- * enabled. After link creation, this can only be updated from the Display &
- * Video 360 product.
- * If this field is not set on create, it will be defaulted to true.
+ * Immutable. Enables the import of cost data from Display & Video 360 into
+ * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+ * is enabled. After link creation, this can only be updated from the Display
+ * & Video 360 product. If this field is not set on create, it will be
+ * defaulted to true.
*
* Generated from protobuf field .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE];
* @return bool|null
@@ -364,11 +368,11 @@ public function getCostDataSharingEnabledValue()
}
/**
- * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
- * property. This can only be enabled if campaign_data_sharing_enabled is
- * enabled. After link creation, this can only be updated from the Display &
- * Video 360 product.
- * If this field is not set on create, it will be defaulted to true.
+ * Immutable. Enables the import of cost data from Display & Video 360 into
+ * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+ * is enabled. After link creation, this can only be updated from the Display
+ * & Video 360 product. If this field is not set on create, it will be
+ * defaulted to true.
*
* Generated from protobuf field .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE];
* @param \Google\Protobuf\BoolValue $var
@@ -385,11 +389,11 @@ public function setCostDataSharingEnabled($var)
/**
* Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
- * Immutable. Enables the import of cost data from Display & Video 360 into the GA4
- * property. This can only be enabled if campaign_data_sharing_enabled is
- * enabled. After link creation, this can only be updated from the Display &
- * Video 360 product.
- * If this field is not set on create, it will be defaulted to true.
+ * Immutable. Enables the import of cost data from Display & Video 360 into
+ * the GA4 property. This can only be enabled if campaign_data_sharing_enabled
+ * is enabled. After link creation, this can only be updated from the Display
+ * & Video 360 product. If this field is not set on create, it will be
+ * defaulted to true.
*
* Generated from protobuf field .google.protobuf.BoolValue cost_data_sharing_enabled = 6 [(.google.api.field_behavior) = IMMUTABLE];
* @param bool|null $var
diff --git a/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLinkProposal.php b/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLinkProposal.php
index 4c5ed15a238..c86f7a63b69 100644
--- a/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLinkProposal.php
+++ b/AnalyticsAdmin/src/V1alpha/DisplayVideo360AdvertiserLinkProposal.php
@@ -20,8 +20,8 @@
class DisplayVideo360AdvertiserLinkProposal extends \Google\Protobuf\Internal\Message
{
/**
- * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
- * Format:
+ * Output only. The resource name for this
+ * DisplayVideo360AdvertiserLinkProposal resource. Format:
* properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
* Note: proposalId is not the Display & Video 360 Advertiser ID
*
@@ -48,12 +48,12 @@ class DisplayVideo360AdvertiserLinkProposal extends \Google\Protobuf\Internal\Me
*/
private $advertiser_display_name = '';
/**
- * Input only. On a proposal being sent to Display & Video 360, this field must be set to
- * the email address of an admin on the target advertiser. This is used to
- * verify that the Google Analytics admin is aware of at least one admin on
- * the Display & Video 360 Advertiser. This does not restrict approval of the
- * proposal to a single user. Any admin on the Display & Video 360 Advertiser
- * may approve the proposal.
+ * Input only. On a proposal being sent to Display & Video 360, this field
+ * must be set to the email address of an admin on the target advertiser. This
+ * is used to verify that the Google Analytics admin is aware of at least one
+ * admin on the Display & Video 360 Advertiser. This does not restrict
+ * approval of the proposal to a single user. Any admin on the Display & Video
+ * 360 Advertiser may approve the proposal.
*
* Generated from protobuf field string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY];
*/
@@ -88,8 +88,8 @@ class DisplayVideo360AdvertiserLinkProposal extends \Google\Protobuf\Internal\Me
* Optional. Data for populating the Message object.
*
* @type string $name
- * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
- * Format:
+ * Output only. The resource name for this
+ * DisplayVideo360AdvertiserLinkProposal resource. Format:
* properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
* Note: proposalId is not the Display & Video 360 Advertiser ID
* @type string $advertiser_id
@@ -100,12 +100,12 @@ class DisplayVideo360AdvertiserLinkProposal extends \Google\Protobuf\Internal\Me
* Output only. The display name of the Display & Video Advertiser.
* Only populated for proposals that originated from Display & Video 360.
* @type string $validation_email
- * Input only. On a proposal being sent to Display & Video 360, this field must be set to
- * the email address of an admin on the target advertiser. This is used to
- * verify that the Google Analytics admin is aware of at least one admin on
- * the Display & Video 360 Advertiser. This does not restrict approval of the
- * proposal to a single user. Any admin on the Display & Video 360 Advertiser
- * may approve the proposal.
+ * Input only. On a proposal being sent to Display & Video 360, this field
+ * must be set to the email address of an admin on the target advertiser. This
+ * is used to verify that the Google Analytics admin is aware of at least one
+ * admin on the Display & Video 360 Advertiser. This does not restrict
+ * approval of the proposal to a single user. Any admin on the Display & Video
+ * 360 Advertiser may approve the proposal.
* @type \Google\Protobuf\BoolValue $ads_personalization_enabled
* Immutable. Enables personalized advertising features with this integration.
* If this field is not set on create, it will be defaulted to true.
@@ -124,8 +124,8 @@ public function __construct($data = NULL) {
}
/**
- * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
- * Format:
+ * Output only. The resource name for this
+ * DisplayVideo360AdvertiserLinkProposal resource. Format:
* properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
* Note: proposalId is not the Display & Video 360 Advertiser ID
*
@@ -138,8 +138,8 @@ public function getName()
}
/**
- * Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource.
- * Format:
+ * Output only. The resource name for this
+ * DisplayVideo360AdvertiserLinkProposal resource. Format:
* properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId}
* Note: proposalId is not the Display & Video 360 Advertiser ID
*
@@ -246,12 +246,12 @@ public function setAdvertiserDisplayName($var)
}
/**
- * Input only. On a proposal being sent to Display & Video 360, this field must be set to
- * the email address of an admin on the target advertiser. This is used to
- * verify that the Google Analytics admin is aware of at least one admin on
- * the Display & Video 360 Advertiser. This does not restrict approval of the
- * proposal to a single user. Any admin on the Display & Video 360 Advertiser
- * may approve the proposal.
+ * Input only. On a proposal being sent to Display & Video 360, this field
+ * must be set to the email address of an admin on the target advertiser. This
+ * is used to verify that the Google Analytics admin is aware of at least one
+ * admin on the Display & Video 360 Advertiser. This does not restrict
+ * approval of the proposal to a single user. Any admin on the Display & Video
+ * 360 Advertiser may approve the proposal.
*
* Generated from protobuf field string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY];
* @return string
@@ -262,12 +262,12 @@ public function getValidationEmail()
}
/**
- * Input only. On a proposal being sent to Display & Video 360, this field must be set to
- * the email address of an admin on the target advertiser. This is used to
- * verify that the Google Analytics admin is aware of at least one admin on
- * the Display & Video 360 Advertiser. This does not restrict approval of the
- * proposal to a single user. Any admin on the Display & Video 360 Advertiser
- * may approve the proposal.
+ * Input only. On a proposal being sent to Display & Video 360, this field
+ * must be set to the email address of an admin on the target advertiser. This
+ * is used to verify that the Google Analytics admin is aware of at least one
+ * admin on the Display & Video 360 Advertiser. This does not restrict
+ * approval of the proposal to a single user. Any admin on the Display & Video
+ * 360 Advertiser may approve the proposal.
*
* Generated from protobuf field string validation_email = 5 [(.google.api.field_behavior) = INPUT_ONLY];
* @param string $var
diff --git a/AnalyticsAdmin/src/V1alpha/ExpandedDataSet.php b/AnalyticsAdmin/src/V1alpha/ExpandedDataSet.php
new file mode 100644
index 00000000000..900c98fb143
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/ExpandedDataSet.php
@@ -0,0 +1,339 @@
+google.analytics.admin.v1alpha.ExpandedDataSet
+ */
+class ExpandedDataSet extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The resource name for this ExpandedDataSet resource.
+ * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $name = '';
+ /**
+ * Required. The display name of the ExpandedDataSet.
+ * Max 200 chars.
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ private $display_name = '';
+ /**
+ * Optional. The description of the ExpandedDataSet.
+ * Max 50 chars.
+ *
+ * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $description = '';
+ /**
+ * Immutable. The list of dimensions included in the ExpandedDataSet.
+ * See the [API
+ * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+ * for the list of dimension names.
+ *
+ * Generated from protobuf field repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE];
+ */
+ private $dimension_names;
+ /**
+ * Immutable. The list of metrics included in the ExpandedDataSet.
+ * See the [API
+ * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+ * for the list of dimension names.
+ *
+ * Generated from protobuf field repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE];
+ */
+ private $metric_names;
+ /**
+ * Immutable. A logical expression of ExpandedDataSet filters applied to
+ * dimension included in the ExpandedDataSet. This filter is used to reduce
+ * the number of rows and thus the change of encountering `other row`.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE];
+ */
+ private $dimension_filter_expression = null;
+ /**
+ * Output only. Time when expanded data set began (or will begin) collecing
+ * data.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $data_collection_start_time = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. The resource name for this ExpandedDataSet resource.
+ * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+ * @type string $display_name
+ * Required. The display name of the ExpandedDataSet.
+ * Max 200 chars.
+ * @type string $description
+ * Optional. The description of the ExpandedDataSet.
+ * Max 50 chars.
+ * @type array|\Google\Protobuf\Internal\RepeatedField $dimension_names
+ * Immutable. The list of dimensions included in the ExpandedDataSet.
+ * See the [API
+ * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+ * for the list of dimension names.
+ * @type array|\Google\Protobuf\Internal\RepeatedField $metric_names
+ * Immutable. The list of metrics included in the ExpandedDataSet.
+ * See the [API
+ * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+ * for the list of dimension names.
+ * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression $dimension_filter_expression
+ * Immutable. A logical expression of ExpandedDataSet filters applied to
+ * dimension included in the ExpandedDataSet. This filter is used to reduce
+ * the number of rows and thus the change of encountering `other row`.
+ * @type \Google\Protobuf\Timestamp $data_collection_start_time
+ * Output only. Time when expanded data set began (or will begin) collecing
+ * data.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\ExpandedDataSet::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The resource name for this ExpandedDataSet resource.
+ * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. The resource name for this ExpandedDataSet resource.
+ * Format: properties/{property_id}/expandedDataSets/{expanded_data_set}
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The display name of the ExpandedDataSet.
+ * Max 200 chars.
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getDisplayName()
+ {
+ return $this->display_name;
+ }
+
+ /**
+ * Required. The display name of the ExpandedDataSet.
+ * Max 200 chars.
+ *
+ * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The description of the ExpandedDataSet.
+ * Max 50 chars.
+ *
+ * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * Optional. The description of the ExpandedDataSet.
+ * Max 50 chars.
+ *
+ * Generated from protobuf field string description = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * Immutable. The list of dimensions included in the ExpandedDataSet.
+ * See the [API
+ * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+ * for the list of dimension names.
+ *
+ * Generated from protobuf field repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getDimensionNames()
+ {
+ return $this->dimension_names;
+ }
+
+ /**
+ * Immutable. The list of dimensions included in the ExpandedDataSet.
+ * See the [API
+ * Dimensions](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#dimensions)
+ * for the list of dimension names.
+ *
+ * Generated from protobuf field repeated string dimension_names = 4 [(.google.api.field_behavior) = IMMUTABLE];
+ * @param array|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setDimensionNames($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->dimension_names = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Immutable. The list of metrics included in the ExpandedDataSet.
+ * See the [API
+ * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+ * for the list of dimension names.
+ *
+ * Generated from protobuf field repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getMetricNames()
+ {
+ return $this->metric_names;
+ }
+
+ /**
+ * Immutable. The list of metrics included in the ExpandedDataSet.
+ * See the [API
+ * Metrics](https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#metrics)
+ * for the list of dimension names.
+ *
+ * Generated from protobuf field repeated string metric_names = 5 [(.google.api.field_behavior) = IMMUTABLE];
+ * @param array|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setMetricNames($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->metric_names = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Immutable. A logical expression of ExpandedDataSet filters applied to
+ * dimension included in the ExpandedDataSet. This filter is used to reduce
+ * the number of rows and thus the change of encountering `other row`.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression|null
+ */
+ public function getDimensionFilterExpression()
+ {
+ return $this->dimension_filter_expression;
+ }
+
+ public function hasDimensionFilterExpression()
+ {
+ return isset($this->dimension_filter_expression);
+ }
+
+ public function clearDimensionFilterExpression()
+ {
+ unset($this->dimension_filter_expression);
+ }
+
+ /**
+ * Immutable. A logical expression of ExpandedDataSet filters applied to
+ * dimension included in the ExpandedDataSet. This filter is used to reduce
+ * the number of rows and thus the change of encountering `other row`.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression dimension_filter_expression = 6 [(.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression $var
+ * @return $this
+ */
+ public function setDimensionFilterExpression($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression::class);
+ $this->dimension_filter_expression = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. Time when expanded data set began (or will begin) collecing
+ * data.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getDataCollectionStartTime()
+ {
+ return $this->data_collection_start_time;
+ }
+
+ public function hasDataCollectionStartTime()
+ {
+ return isset($this->data_collection_start_time);
+ }
+
+ public function clearDataCollectionStartTime()
+ {
+ unset($this->data_collection_start_time);
+ }
+
+ /**
+ * Output only. Time when expanded data set began (or will begin) collecing
+ * data.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp data_collection_start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setDataCollectionStartTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->data_collection_start_time = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter.php b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter.php
new file mode 100644
index 00000000000..b7e08e3a4da
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter.php
@@ -0,0 +1,145 @@
+google.analytics.admin.v1alpha.ExpandedDataSetFilter
+ */
+class ExpandedDataSetFilter extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The dimension name to filter.
+ *
+ * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ private $field_name = '';
+ protected $one_filter;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter\StringFilter $string_filter
+ * A filter for a string-type dimension that matches a particular pattern.
+ * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter\InListFilter $in_list_filter
+ * A filter for a string dimension that matches a particular list of
+ * options.
+ * @type string $field_name
+ * Required. The dimension name to filter.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\ExpandedDataSet::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A filter for a string-type dimension that matches a particular pattern.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2;
+ * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter\StringFilter|null
+ */
+ public function getStringFilter()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasStringFilter()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * A filter for a string-type dimension that matches a particular pattern.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter string_filter = 2;
+ * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter\StringFilter $var
+ * @return $this
+ */
+ public function setStringFilter($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter\StringFilter::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * A filter for a string dimension that matches a particular list of
+ * options.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3;
+ * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter\InListFilter|null
+ */
+ public function getInListFilter()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasInListFilter()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * A filter for a string dimension that matches a particular list of
+ * options.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter in_list_filter = 3;
+ * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter\InListFilter $var
+ * @return $this
+ */
+ public function setInListFilter($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter\InListFilter::class);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Required. The dimension name to filter.
+ *
+ * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getFieldName()
+ {
+ return $this->field_name;
+ }
+
+ /**
+ * Required. The dimension name to filter.
+ *
+ * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setFieldName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->field_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getOneFilter()
+ {
+ return $this->whichOneof("one_filter");
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter/InListFilter.php b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter/InListFilter.php
new file mode 100644
index 00000000000..70abd63051f
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter/InListFilter.php
@@ -0,0 +1,116 @@
+google.analytics.admin.v1alpha.ExpandedDataSetFilter.InListFilter
+ */
+class InListFilter extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The list of possible string values to match against. Must be
+ * non-empty.
+ *
+ * Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ private $values;
+ /**
+ * Optional. If true, the match is case-sensitive. If false, the match is
+ * case-insensitive.
+ * Must be true.
+ *
+ * Generated from protobuf field bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $case_sensitive = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array|\Google\Protobuf\Internal\RepeatedField $values
+ * Required. The list of possible string values to match against. Must be
+ * non-empty.
+ * @type bool $case_sensitive
+ * Optional. If true, the match is case-sensitive. If false, the match is
+ * case-insensitive.
+ * Must be true.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\ExpandedDataSet::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The list of possible string values to match against. Must be
+ * non-empty.
+ *
+ * Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getValues()
+ {
+ return $this->values;
+ }
+
+ /**
+ * Required. The list of possible string values to match against. Must be
+ * non-empty.
+ *
+ * Generated from protobuf field repeated string values = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param array|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setValues($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->values = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If true, the match is case-sensitive. If false, the match is
+ * case-insensitive.
+ * Must be true.
+ *
+ * Generated from protobuf field bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getCaseSensitive()
+ {
+ return $this->case_sensitive;
+ }
+
+ /**
+ * Optional. If true, the match is case-sensitive. If false, the match is
+ * case-insensitive.
+ * Must be true.
+ *
+ * Generated from protobuf field bool case_sensitive = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setCaseSensitive($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->case_sensitive = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(InListFilter::class, \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter_InListFilter::class);
+
diff --git a/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter/StringFilter.php b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter/StringFilter.php
new file mode 100644
index 00000000000..a728e1166dc
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter/StringFilter.php
@@ -0,0 +1,150 @@
+google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter
+ */
+class StringFilter extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The match type for the string filter.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ private $match_type = 0;
+ /**
+ * Required. The string value to be matched against.
+ *
+ * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ private $value = '';
+ /**
+ * Optional. If true, the match is case-sensitive. If false, the match is
+ * case-insensitive.
+ * Must be true when match_type is EXACT.
+ * Must be false when match_type is CONTAINS.
+ *
+ * Generated from protobuf field bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $case_sensitive = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $match_type
+ * Required. The match type for the string filter.
+ * @type string $value
+ * Required. The string value to be matched against.
+ * @type bool $case_sensitive
+ * Optional. If true, the match is case-sensitive. If false, the match is
+ * case-insensitive.
+ * Must be true when match_type is EXACT.
+ * Must be false when match_type is CONTAINS.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\ExpandedDataSet::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The match type for the string filter.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return int
+ */
+ public function getMatchType()
+ {
+ return $this->match_type;
+ }
+
+ /**
+ * Required. The match type for the string filter.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param int $var
+ * @return $this
+ */
+ public function setMatchType($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter\StringFilter\MatchType::class);
+ $this->match_type = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The string value to be matched against.
+ *
+ * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ /**
+ * Required. The string value to be matched against.
+ *
+ * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setValue($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->value = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. If true, the match is case-sensitive. If false, the match is
+ * case-insensitive.
+ * Must be true when match_type is EXACT.
+ * Must be false when match_type is CONTAINS.
+ *
+ * Generated from protobuf field bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getCaseSensitive()
+ {
+ return $this->case_sensitive;
+ }
+
+ /**
+ * Optional. If true, the match is case-sensitive. If false, the match is
+ * case-insensitive.
+ * Must be true when match_type is EXACT.
+ * Must be false when match_type is CONTAINS.
+ *
+ * Generated from protobuf field bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setCaseSensitive($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->case_sensitive = $var;
+
+ return $this;
+ }
+
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(StringFilter::class, \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter_StringFilter::class);
+
diff --git a/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter/StringFilter/MatchType.php b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter/StringFilter/MatchType.php
new file mode 100644
index 00000000000..b8c07512fb9
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter/StringFilter/MatchType.php
@@ -0,0 +1,64 @@
+google.analytics.admin.v1alpha.ExpandedDataSetFilter.StringFilter.MatchType
+ */
+class MatchType
+{
+ /**
+ * Unspecified
+ *
+ * Generated from protobuf enum MATCH_TYPE_UNSPECIFIED = 0;
+ */
+ const MATCH_TYPE_UNSPECIFIED = 0;
+ /**
+ * Exact match of the string value.
+ *
+ * Generated from protobuf enum EXACT = 1;
+ */
+ const EXACT = 1;
+ /**
+ * Contains the string value.
+ *
+ * Generated from protobuf enum CONTAINS = 2;
+ */
+ const CONTAINS = 2;
+
+ private static $valueToName = [
+ self::MATCH_TYPE_UNSPECIFIED => 'MATCH_TYPE_UNSPECIFIED',
+ self::EXACT => 'EXACT',
+ self::CONTAINS => 'CONTAINS',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
+// Adding a class alias for backwards compatibility with the previous class name.
+class_alias(MatchType::class, \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter_StringFilter_MatchType::class);
+
diff --git a/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilterExpression.php b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilterExpression.php
new file mode 100644
index 00000000000..100f6dae55d
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilterExpression.php
@@ -0,0 +1,159 @@
+google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression
+ */
+class ExpandedDataSetFilterExpression extends \Google\Protobuf\Internal\Message
+{
+ protected $expr;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpressionList $and_group
+ * A list of expressions to be AND’ed together. It must contain a
+ * ExpandedDataSetFilterExpression with either not_expression or
+ * dimension_filter. This must be set for the top level
+ * ExpandedDataSetFilterExpression.
+ * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression $not_expression
+ * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+ * must include a dimension_filter. This cannot be set on the
+ * top level ExpandedDataSetFilterExpression.
+ * @type \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter $filter
+ * A filter on a single dimension. This cannot be set on the top
+ * level ExpandedDataSetFilterExpression.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\ExpandedDataSet::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A list of expressions to be AND’ed together. It must contain a
+ * ExpandedDataSetFilterExpression with either not_expression or
+ * dimension_filter. This must be set for the top level
+ * ExpandedDataSetFilterExpression.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1;
+ * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpressionList|null
+ */
+ public function getAndGroup()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasAndGroup()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * A list of expressions to be AND’ed together. It must contain a
+ * ExpandedDataSetFilterExpression with either not_expression or
+ * dimension_filter. This must be set for the top level
+ * ExpandedDataSetFilterExpression.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList and_group = 1;
+ * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpressionList $var
+ * @return $this
+ */
+ public function setAndGroup($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpressionList::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+ * must include a dimension_filter. This cannot be set on the
+ * top level ExpandedDataSetFilterExpression.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2;
+ * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression|null
+ */
+ public function getNotExpression()
+ {
+ return $this->readOneof(2);
+ }
+
+ public function hasNotExpression()
+ {
+ return $this->hasOneof(2);
+ }
+
+ /**
+ * A filter expression to be NOT'ed (i.e., inverted, complemented). It
+ * must include a dimension_filter. This cannot be set on the
+ * top level ExpandedDataSetFilterExpression.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression not_expression = 2;
+ * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression $var
+ * @return $this
+ */
+ public function setNotExpression($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression::class);
+ $this->writeOneof(2, $var);
+
+ return $this;
+ }
+
+ /**
+ * A filter on a single dimension. This cannot be set on the top
+ * level ExpandedDataSetFilterExpression.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3;
+ * @return \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter|null
+ */
+ public function getFilter()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasFilter()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * A filter on a single dimension. This cannot be set on the top
+ * level ExpandedDataSetFilterExpression.
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.ExpandedDataSetFilter filter = 3;
+ * @param \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter $var
+ * @return $this
+ */
+ public function setFilter($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilter::class);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getExpr()
+ {
+ return $this->whichOneof("expr");
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilterExpressionList.php b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilterExpressionList.php
new file mode 100644
index 00000000000..90185029e2a
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilterExpressionList.php
@@ -0,0 +1,67 @@
+google.analytics.admin.v1alpha.ExpandedDataSetFilterExpressionList
+ */
+class ExpandedDataSetFilterExpressionList extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A list of ExpandedDataSet filter expressions.
+ *
+ * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1;
+ */
+ private $filter_expressions;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression>|\Google\Protobuf\Internal\RepeatedField $filter_expressions
+ * A list of ExpandedDataSet filter expressions.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\ExpandedDataSet::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A list of ExpandedDataSet filter expressions.
+ *
+ * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getFilterExpressions()
+ {
+ return $this->filter_expressions;
+ }
+
+ /**
+ * A list of ExpandedDataSet filter expressions.
+ *
+ * Generated from protobuf field repeated .google.analytics.admin.v1alpha.ExpandedDataSetFilterExpression filter_expressions = 1;
+ * @param array<\Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setFilterExpressions($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\ExpandedDataSetFilterExpression::class);
+ $this->filter_expressions = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter_InListFilter.php b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter_InListFilter.php
new file mode 100644
index 00000000000..d40b3c4d7e5
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/ExpandedDataSetFilter_InListFilter.php
@@ -0,0 +1,16 @@
+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];
+ */
+ private $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
new file mode 100644
index 00000000000..190d3027778
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/FetchAutomatedGa4ConfigurationOptOutResponse.php
@@ -0,0 +1,68 @@
+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;
+ */
+ private $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/FirebaseLink.php b/AnalyticsAdmin/src/V1alpha/FirebaseLink.php
index 5f034859103..50787b7116c 100644
--- a/AnalyticsAdmin/src/V1alpha/FirebaseLink.php
+++ b/AnalyticsAdmin/src/V1alpha/FirebaseLink.php
@@ -22,9 +22,9 @@ class FirebaseLink extends \Google\Protobuf\Internal\Message
*/
private $name = '';
/**
- * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
- * provide this resource name using either a project number or project ID.
- * Once this resource has been created, returned FirebaseLinks will always
+ * Immutable. Firebase project resource name. When creating a FirebaseLink,
+ * you may provide this resource name using either a project number or project
+ * ID. Once this resource has been created, returned FirebaseLinks will always
* have a project_name that contains a project number.
* Format: 'projects/{project number}'
* Example: 'projects/1234'
@@ -48,9 +48,9 @@ class FirebaseLink extends \Google\Protobuf\Internal\Message
* @type string $name
* Output only. Example format: properties/1234/firebaseLinks/5678
* @type string $project
- * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
- * provide this resource name using either a project number or project ID.
- * Once this resource has been created, returned FirebaseLinks will always
+ * Immutable. Firebase project resource name. When creating a FirebaseLink,
+ * you may provide this resource name using either a project number or project
+ * ID. Once this resource has been created, returned FirebaseLinks will always
* have a project_name that contains a project number.
* Format: 'projects/{project number}'
* Example: 'projects/1234'
@@ -90,9 +90,9 @@ public function setName($var)
}
/**
- * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
- * provide this resource name using either a project number or project ID.
- * Once this resource has been created, returned FirebaseLinks will always
+ * Immutable. Firebase project resource name. When creating a FirebaseLink,
+ * you may provide this resource name using either a project number or project
+ * ID. Once this resource has been created, returned FirebaseLinks will always
* have a project_name that contains a project number.
* Format: 'projects/{project number}'
* Example: 'projects/1234'
@@ -106,9 +106,9 @@ public function getProject()
}
/**
- * Immutable. Firebase project resource name. When creating a FirebaseLink, you may
- * provide this resource name using either a project number or project ID.
- * Once this resource has been created, returned FirebaseLinks will always
+ * Immutable. Firebase project resource name. When creating a FirebaseLink,
+ * you may provide this resource name using either a project number or project
+ * ID. Once this resource has been created, returned FirebaseLinks will always
* have a project_name that contains a project number.
* Format: 'projects/{project number}'
* Example: 'projects/1234'
diff --git a/AnalyticsAdmin/src/V1alpha/Gapic/AnalyticsAdminServiceGapicClient.php b/AnalyticsAdmin/src/V1alpha/Gapic/AnalyticsAdminServiceGapicClient.php
index 7ec5c6bdc4c..99028f3168a 100644
--- a/AnalyticsAdmin/src/V1alpha/Gapic/AnalyticsAdminServiceGapicClient.php
+++ b/AnalyticsAdmin/src/V1alpha/Gapic/AnalyticsAdminServiceGapicClient.php
@@ -50,6 +50,7 @@
use Google\Analytics\Admin\V1alpha\BatchGetUserLinksResponse;
use Google\Analytics\Admin\V1alpha\BatchUpdateUserLinksRequest;
use Google\Analytics\Admin\V1alpha\BatchUpdateUserLinksResponse;
+use Google\Analytics\Admin\V1alpha\BigQueryLink;
use Google\Analytics\Admin\V1alpha\CancelDisplayVideo360AdvertiserLinkProposalRequest;
use Google\Analytics\Admin\V1alpha\ConversionEvent;
use Google\Analytics\Admin\V1alpha\CreateAudienceRequest;
@@ -63,6 +64,7 @@
use Google\Analytics\Admin\V1alpha\CreateGoogleAdsLinkRequest;
use Google\Analytics\Admin\V1alpha\CreateMeasurementProtocolSecretRequest;
use Google\Analytics\Admin\V1alpha\CreatePropertyRequest;
+use Google\Analytics\Admin\V1alpha\CreateSearchAds360LinkRequest;
use Google\Analytics\Admin\V1alpha\CreateUserLinkRequest;
use Google\Analytics\Admin\V1alpha\CustomDimension;
use Google\Analytics\Admin\V1alpha\CustomMetric;
@@ -78,13 +80,17 @@
use Google\Analytics\Admin\V1alpha\DeleteGoogleAdsLinkRequest;
use Google\Analytics\Admin\V1alpha\DeleteMeasurementProtocolSecretRequest;
use Google\Analytics\Admin\V1alpha\DeletePropertyRequest;
+use Google\Analytics\Admin\V1alpha\DeleteSearchAds360LinkRequest;
use Google\Analytics\Admin\V1alpha\DeleteUserLinkRequest;
use Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink;
use Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal;
+use Google\Analytics\Admin\V1alpha\FetchAutomatedGa4ConfigurationOptOutRequest;
+use Google\Analytics\Admin\V1alpha\FetchAutomatedGa4ConfigurationOptOutResponse;
use Google\Analytics\Admin\V1alpha\FirebaseLink;
use Google\Analytics\Admin\V1alpha\GetAccountRequest;
use Google\Analytics\Admin\V1alpha\GetAttributionSettingsRequest;
use Google\Analytics\Admin\V1alpha\GetAudienceRequest;
+use Google\Analytics\Admin\V1alpha\GetBigQueryLinkRequest;
use Google\Analytics\Admin\V1alpha\GetConversionEventRequest;
use Google\Analytics\Admin\V1alpha\GetCustomDimensionRequest;
use Google\Analytics\Admin\V1alpha\GetCustomMetricRequest;
@@ -97,6 +103,7 @@
use Google\Analytics\Admin\V1alpha\GetGoogleSignalsSettingsRequest;
use Google\Analytics\Admin\V1alpha\GetMeasurementProtocolSecretRequest;
use Google\Analytics\Admin\V1alpha\GetPropertyRequest;
+use Google\Analytics\Admin\V1alpha\GetSearchAds360LinkRequest;
use Google\Analytics\Admin\V1alpha\GetUserLinkRequest;
use Google\Analytics\Admin\V1alpha\GlobalSiteTag;
use Google\Analytics\Admin\V1alpha\GoogleAdsLink;
@@ -107,6 +114,8 @@
use Google\Analytics\Admin\V1alpha\ListAccountsResponse;
use Google\Analytics\Admin\V1alpha\ListAudiencesRequest;
use Google\Analytics\Admin\V1alpha\ListAudiencesResponse;
+use Google\Analytics\Admin\V1alpha\ListBigQueryLinksRequest;
+use Google\Analytics\Admin\V1alpha\ListBigQueryLinksResponse;
use Google\Analytics\Admin\V1alpha\ListConversionEventsRequest;
use Google\Analytics\Admin\V1alpha\ListConversionEventsResponse;
use Google\Analytics\Admin\V1alpha\ListCustomDimensionsRequest;
@@ -127,6 +136,8 @@
use Google\Analytics\Admin\V1alpha\ListMeasurementProtocolSecretsResponse;
use Google\Analytics\Admin\V1alpha\ListPropertiesRequest;
use Google\Analytics\Admin\V1alpha\ListPropertiesResponse;
+use Google\Analytics\Admin\V1alpha\ListSearchAds360LinksRequest;
+use Google\Analytics\Admin\V1alpha\ListSearchAds360LinksResponse;
use Google\Analytics\Admin\V1alpha\ListUserLinksRequest;
use Google\Analytics\Admin\V1alpha\ListUserLinksResponse;
use Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret;
@@ -135,8 +146,11 @@
use Google\Analytics\Admin\V1alpha\ProvisionAccountTicketResponse;
use Google\Analytics\Admin\V1alpha\RunAccessReportRequest;
use Google\Analytics\Admin\V1alpha\RunAccessReportResponse;
+use Google\Analytics\Admin\V1alpha\SearchAds360Link;
use Google\Analytics\Admin\V1alpha\SearchChangeHistoryEventsRequest;
use Google\Analytics\Admin\V1alpha\SearchChangeHistoryEventsResponse;
+use Google\Analytics\Admin\V1alpha\SetAutomatedGa4ConfigurationOptOutRequest;
+use Google\Analytics\Admin\V1alpha\SetAutomatedGa4ConfigurationOptOutResponse;
use Google\Analytics\Admin\V1alpha\UpdateAccountRequest;
use Google\Analytics\Admin\V1alpha\UpdateAttributionSettingsRequest;
use Google\Analytics\Admin\V1alpha\UpdateAudienceRequest;
@@ -149,6 +163,7 @@
use Google\Analytics\Admin\V1alpha\UpdateGoogleSignalsSettingsRequest;
use Google\Analytics\Admin\V1alpha\UpdateMeasurementProtocolSecretRequest;
use Google\Analytics\Admin\V1alpha\UpdatePropertyRequest;
+use Google\Analytics\Admin\V1alpha\UpdateSearchAds360LinkRequest;
use Google\Analytics\Admin\V1alpha\UpdateUserLinkRequest;
use Google\Analytics\Admin\V1alpha\UserLink;
use Google\ApiCore\ApiException;
@@ -220,6 +235,8 @@ class AnalyticsAdminServiceGapicClient
private static $audienceNameTemplate;
+ private static $bigQueryLinkNameTemplate;
+
private static $conversionEventNameTemplate;
private static $customDimensionNameTemplate;
@@ -250,6 +267,8 @@ class AnalyticsAdminServiceGapicClient
private static $propertyUserLinkNameTemplate;
+ private static $searchAds360LinkNameTemplate;
+
private static $userLinkNameTemplate;
private static $pathTemplateMap;
@@ -309,6 +328,15 @@ private static function getAudienceNameTemplate()
return self::$audienceNameTemplate;
}
+ private static function getBigQueryLinkNameTemplate()
+ {
+ if (self::$bigQueryLinkNameTemplate == null) {
+ self::$bigQueryLinkNameTemplate = new PathTemplate('properties/{property}/bigQueryLinks/{bigquery_link}');
+ }
+
+ return self::$bigQueryLinkNameTemplate;
+ }
+
private static function getConversionEventNameTemplate()
{
if (self::$conversionEventNameTemplate == null) {
@@ -444,6 +472,15 @@ private static function getPropertyUserLinkNameTemplate()
return self::$propertyUserLinkNameTemplate;
}
+ private static function getSearchAds360LinkNameTemplate()
+ {
+ if (self::$searchAds360LinkNameTemplate == null) {
+ self::$searchAds360LinkNameTemplate = new PathTemplate('properties/{property}/searchAds360Links/{search_ads_360_link}');
+ }
+
+ return self::$searchAds360LinkNameTemplate;
+ }
+
private static function getUserLinkNameTemplate()
{
if (self::$userLinkNameTemplate == null) {
@@ -461,6 +498,7 @@ private static function getPathTemplateMap()
'accountUserLink' => self::getAccountUserLinkNameTemplate(),
'attributionSettings' => self::getAttributionSettingsNameTemplate(),
'audience' => self::getAudienceNameTemplate(),
+ 'bigQueryLink' => self::getBigQueryLinkNameTemplate(),
'conversionEvent' => self::getConversionEventNameTemplate(),
'customDimension' => self::getCustomDimensionNameTemplate(),
'customMetric' => self::getCustomMetricNameTemplate(),
@@ -476,6 +514,7 @@ private static function getPathTemplateMap()
'measurementProtocolSecret' => self::getMeasurementProtocolSecretNameTemplate(),
'property' => self::getPropertyNameTemplate(),
'propertyUserLink' => self::getPropertyUserLinkNameTemplate(),
+ 'searchAds360Link' => self::getSearchAds360LinkNameTemplate(),
'userLink' => self::getUserLinkNameTemplate(),
];
}
@@ -555,6 +594,25 @@ public static function audienceName($property, $audience)
]);
}
+ /**
+ * Formats a string containing the fully-qualified path to represent a
+ * big_query_link resource.
+ *
+ * @param string $property
+ * @param string $bigqueryLink
+ *
+ * @return string The formatted big_query_link resource.
+ *
+ * @experimental
+ */
+ public static function bigQueryLinkName($property, $bigqueryLink)
+ {
+ return self::getBigQueryLinkNameTemplate()->render([
+ 'property' => $property,
+ 'bigquery_link' => $bigqueryLink,
+ ]);
+ }
+
/**
* Formats a string containing the fully-qualified path to represent a
* conversion_event resource.
@@ -834,6 +892,25 @@ public static function propertyUserLinkName($property, $userLink)
]);
}
+ /**
+ * Formats a string containing the fully-qualified path to represent a
+ * search_ads360_link resource.
+ *
+ * @param string $property
+ * @param string $searchAds360Link
+ *
+ * @return string The formatted search_ads360_link resource.
+ *
+ * @experimental
+ */
+ public static function searchAds360LinkName($property, $searchAds360Link)
+ {
+ return self::getSearchAds360LinkNameTemplate()->render([
+ 'property' => $property,
+ 'search_ads_360_link' => $searchAds360Link,
+ ]);
+ }
+
/**
* Formats a string containing the fully-qualified path to represent a user_link
* resource.
@@ -861,6 +938,7 @@ public static function userLinkName($account, $userLink)
* - accountUserLink: accounts/{account}/userLinks/{user_link}
* - attributionSettings: properties/{property}/attributionSettings
* - audience: properties/{property}/audiences/{audience}
+ * - bigQueryLink: properties/{property}/bigQueryLinks/{bigquery_link}
* - conversionEvent: properties/{property}/conversionEvents/{conversion_event}
* - customDimension: properties/{property}/customDimensions/{custom_dimension}
* - customMetric: properties/{property}/customMetrics/{custom_metric}
@@ -876,6 +954,7 @@ public static function userLinkName($account, $userLink)
* - measurementProtocolSecret: properties/{property}/dataStreams/{data_stream}/measurementProtocolSecrets/{measurement_protocol_secret}
* - property: properties/{property}
* - propertyUserLink: properties/{property}/userLinks/{user_link}
+ * - searchAds360Link: properties/{property}/searchAds360Links/{search_ads_360_link}
* - userLink: accounts/{account}/userLinks/{user_link}
*
* The optional $template argument can be supplied to specify a particular pattern,
@@ -996,8 +1075,8 @@ public function __construct(array $options = [])
* ```
*
* @param string $property Required. The property for which to acknowledge user data collection.
- * @param string $acknowledgement Required. An acknowledgement that the caller of this method understands the terms
- * of user data collection.
+ * @param string $acknowledgement Required. An acknowledgement that the caller of this method understands the
+ * terms of user data collection.
*
* This field must contain the exact value:
* "I acknowledge that I have the necessary privacy disclosures and rights
@@ -1290,8 +1369,8 @@ public function auditUserLinks($parent, array $optionalArgs = [])
* }
* ```
*
- * @param string $parent Required. The account or property that all user links in the request are for.
- * This field is required. The parent field in the CreateUserLinkRequest
+ * @param string $parent Required. The account or property that all user links in the request are
+ * for. This field is required. The parent field in the CreateUserLinkRequest
* messages must either be empty or match this field.
* Example format: accounts/1234
* @param CreateUserLinkRequest[] $requests Required. The requests specifying the user links to create.
@@ -1300,9 +1379,9 @@ public function auditUserLinks($parent, array $optionalArgs = [])
* Optional.
*
* @type bool $notifyNewUsers
- * Optional. If set, then email the new users notifying them that they've been granted
- * permissions to the resource. Regardless of whether this is set or not,
- * notify_new_user field inside each individual request is ignored.
+ * Optional. If set, then email the new users notifying them that they've been
+ * granted permissions to the resource. Regardless of whether this is set or
+ * not, notify_new_user field inside each individual request is ignored.
* @type RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
@@ -1582,8 +1661,8 @@ public function createAudience($parent, $audience, array $optionalArgs = [])
* ```
*
* @param ConversionEvent $conversionEvent Required. The conversion event to create.
- * @param string $parent Required. The resource name of the parent property where this conversion event will
- * be created. Format: properties/123
+ * @param string $parent Required. The resource name of the parent property where this conversion
+ * event will be created. Format: properties/123
* @param array $optionalArgs {
* Optional.
*
@@ -2009,6 +2088,50 @@ public function createProperty($property, array $optionalArgs = [])
return $this->startCall('CreateProperty', Property::class, $optionalArgs, $request)->wait();
}
+ /**
+ * Creates a SearchAds360Link.
+ *
+ * Sample code:
+ * ```
+ * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient();
+ * try {
+ * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]');
+ * $searchAds360Link = new SearchAds360Link();
+ * $response = $analyticsAdminServiceClient->createSearchAds360Link($formattedParent, $searchAds360Link);
+ * } finally {
+ * $analyticsAdminServiceClient->close();
+ * }
+ * ```
+ *
+ * @param string $parent Required. Example format: properties/1234
+ * @param SearchAds360Link $searchAds360Link Required. The SearchAds360Link to create.
+ * @param array $optionalArgs {
+ * Optional.
+ *
+ * @type RetrySettings|array $retrySettings
+ * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+ * associative array of retry settings parameters. See the documentation on
+ * {@see RetrySettings} for example usage.
+ * }
+ *
+ * @return \Google\Analytics\Admin\V1alpha\SearchAds360Link
+ *
+ * @throws ApiException if the remote call fails
+ *
+ * @experimental
+ */
+ public function createSearchAds360Link($parent, $searchAds360Link, array $optionalArgs = [])
+ {
+ $request = new CreateSearchAds360LinkRequest();
+ $requestParamHeaders = [];
+ $request->setParent($parent);
+ $request->setSearchAds360Link($searchAds360Link);
+ $requestParamHeaders['parent'] = $parent;
+ $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
+ $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
+ return $this->startCall('CreateSearchAds360Link', SearchAds360Link::class, $optionalArgs, $request)->wait();
+ }
+
/**
* Creates a user link on an account or property.
*
@@ -2034,8 +2157,8 @@ public function createProperty($property, array $optionalArgs = [])
* Optional.
*
* @type bool $notifyNewUser
- * Optional. If set, then email the new user notifying them that they've been granted
- * permissions to the resource.
+ * Optional. If set, then email the new user notifying them that they've been
+ * granted permissions to the resource.
* @type RetrySettings|array $retrySettings
* Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
* associative array of retry settings parameters. See the documentation on
@@ -2408,7 +2531,7 @@ public function deleteMeasurementProtocolSecret($name, array $optionalArgs = [])
* will be permanently purged.
* https://support.google.com/analytics/answer/6154772
*
- * Returns an error if the target is not found, or is not an GA4 Property.
+ * Returns an error if the target is not found, or is not a GA4 Property.
*
* Sample code:
* ```
@@ -2450,6 +2573,46 @@ public function deleteProperty($name, array $optionalArgs = [])
return $this->startCall('DeleteProperty', Property::class, $optionalArgs, $request)->wait();
}
+ /**
+ * Deletes a SearchAds360Link on a property.
+ *
+ * Sample code:
+ * ```
+ * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient();
+ * try {
+ * $formattedName = $analyticsAdminServiceClient->searchAds360LinkName('[PROPERTY]', '[SEARCH_ADS_360_LINK]');
+ * $analyticsAdminServiceClient->deleteSearchAds360Link($formattedName);
+ * } finally {
+ * $analyticsAdminServiceClient->close();
+ * }
+ * ```
+ *
+ * @param string $name Required. The name of the SearchAds360Link to delete.
+ * Example format: properties/1234/SearchAds360Links/5678
+ * @param array $optionalArgs {
+ * Optional.
+ *
+ * @type RetrySettings|array $retrySettings
+ * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+ * associative array of retry settings parameters. See the documentation on
+ * {@see RetrySettings} for example usage.
+ * }
+ *
+ * @throws ApiException if the remote call fails
+ *
+ * @experimental
+ */
+ public function deleteSearchAds360Link($name, array $optionalArgs = [])
+ {
+ $request = new DeleteSearchAds360LinkRequest();
+ $requestParamHeaders = [];
+ $request->setName($name);
+ $requestParamHeaders['name'] = $name;
+ $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
+ $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
+ return $this->startCall('DeleteSearchAds360Link', GPBEmpty::class, $optionalArgs, $request)->wait();
+ }
+
/**
* Deletes a user link on an account or property.
*
@@ -2489,6 +2652,48 @@ public function deleteUserLink($name, array $optionalArgs = [])
return $this->startCall('DeleteUserLink', GPBEmpty::class, $optionalArgs, $request)->wait();
}
+ /**
+ * Fetches the opt out status for the automated GA4 setup process for a UA
+ * property.
+ * Note: this has no effect on GA4 property.
+ *
+ * Sample code:
+ * ```
+ * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient();
+ * try {
+ * $property = 'property';
+ * $response = $analyticsAdminServiceClient->fetchAutomatedGa4ConfigurationOptOut($property);
+ * } finally {
+ * $analyticsAdminServiceClient->close();
+ * }
+ * ```
+ *
+ * @param 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
+ * @param array $optionalArgs {
+ * Optional.
+ *
+ * @type RetrySettings|array $retrySettings
+ * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+ * associative array of retry settings parameters. See the documentation on
+ * {@see RetrySettings} for example usage.
+ * }
+ *
+ * @return \Google\Analytics\Admin\V1alpha\FetchAutomatedGa4ConfigurationOptOutResponse
+ *
+ * @throws ApiException if the remote call fails
+ *
+ * @experimental
+ */
+ public function fetchAutomatedGa4ConfigurationOptOut($property, array $optionalArgs = [])
+ {
+ $request = new FetchAutomatedGa4ConfigurationOptOutRequest();
+ $request->setProperty($property);
+ return $this->startCall('FetchAutomatedGa4ConfigurationOptOut', FetchAutomatedGa4ConfigurationOptOutResponse::class, $optionalArgs, $request)->wait();
+ }
+
/**
* Lookup for a single Account.
*
@@ -2577,6 +2782,7 @@ public function getAttributionSettings($name, array $optionalArgs = [])
/**
* Lookup for a single Audience.
* Audiences created before 2020 may not be supported.
+ * Default audiences will not show filter definitions.
*
* Sample code:
* ```
@@ -2617,6 +2823,49 @@ public function getAudience($name, array $optionalArgs = [])
return $this->startCall('GetAudience', Audience::class, $optionalArgs, $request)->wait();
}
+ /**
+ * Lookup for a single BigQuery Link.
+ *
+ * Sample code:
+ * ```
+ * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient();
+ * try {
+ * $formattedName = $analyticsAdminServiceClient->bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]');
+ * $response = $analyticsAdminServiceClient->getBigQueryLink($formattedName);
+ * } finally {
+ * $analyticsAdminServiceClient->close();
+ * }
+ * ```
+ *
+ * @param string $name Required. The name of the BigQuery link to lookup.
+ * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+ * Example: properties/123/bigQueryLinks/456
+ * @param array $optionalArgs {
+ * Optional.
+ *
+ * @type RetrySettings|array $retrySettings
+ * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+ * associative array of retry settings parameters. See the documentation on
+ * {@see RetrySettings} for example usage.
+ * }
+ *
+ * @return \Google\Analytics\Admin\V1alpha\BigQueryLink
+ *
+ * @throws ApiException if the remote call fails
+ *
+ * @experimental
+ */
+ public function getBigQueryLink($name, array $optionalArgs = [])
+ {
+ $request = new GetBigQueryLinkRequest();
+ $requestParamHeaders = [];
+ $request->setName($name);
+ $requestParamHeaders['name'] = $name;
+ $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
+ $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
+ return $this->startCall('GetBigQueryLink', BigQueryLink::class, $optionalArgs, $request)->wait();
+ }
+
/**
* Retrieve a single conversion event.
*
@@ -3131,6 +3380,48 @@ public function getProperty($name, array $optionalArgs = [])
return $this->startCall('GetProperty', Property::class, $optionalArgs, $request)->wait();
}
+ /**
+ * Look up a single SearchAds360Link
+ *
+ * Sample code:
+ * ```
+ * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient();
+ * try {
+ * $formattedName = $analyticsAdminServiceClient->searchAds360LinkName('[PROPERTY]', '[SEARCH_ADS_360_LINK]');
+ * $response = $analyticsAdminServiceClient->getSearchAds360Link($formattedName);
+ * } finally {
+ * $analyticsAdminServiceClient->close();
+ * }
+ * ```
+ *
+ * @param string $name Required. The name of the SearchAds360Link to get.
+ * Example format: properties/1234/SearchAds360Link/5678
+ * @param array $optionalArgs {
+ * Optional.
+ *
+ * @type RetrySettings|array $retrySettings
+ * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+ * associative array of retry settings parameters. See the documentation on
+ * {@see RetrySettings} for example usage.
+ * }
+ *
+ * @return \Google\Analytics\Admin\V1alpha\SearchAds360Link
+ *
+ * @throws ApiException if the remote call fails
+ *
+ * @experimental
+ */
+ public function getSearchAds360Link($name, array $optionalArgs = [])
+ {
+ $request = new GetSearchAds360LinkRequest();
+ $requestParamHeaders = [];
+ $request->setName($name);
+ $requestParamHeaders['name'] = $name;
+ $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
+ $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
+ return $this->startCall('GetSearchAds360Link', SearchAds360Link::class, $optionalArgs, $request)->wait();
+ }
+
/**
* Gets information about a user's link to an account or property.
*
@@ -3313,6 +3604,7 @@ public function listAccounts(array $optionalArgs = [])
/**
* Lists Audiences on a property.
* Audiences created before 2020 may not be supported.
+ * Default audiences will not show filter definitions.
*
* Sample code:
* ```
@@ -3381,6 +3673,78 @@ public function listAudiences($parent, array $optionalArgs = [])
return $this->getPagedListResponse('ListAudiences', $optionalArgs, ListAudiencesResponse::class, $request);
}
+ /**
+ * Lists BigQuery Links on a property.
+ *
+ * Sample code:
+ * ```
+ * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient();
+ * try {
+ * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]');
+ * // Iterate over pages of elements
+ * $pagedResponse = $analyticsAdminServiceClient->listBigQueryLinks($formattedParent);
+ * foreach ($pagedResponse->iteratePages() as $page) {
+ * foreach ($page as $element) {
+ * // doSomethingWith($element);
+ * }
+ * }
+ * // Alternatively:
+ * // Iterate through all elements
+ * $pagedResponse = $analyticsAdminServiceClient->listBigQueryLinks($formattedParent);
+ * foreach ($pagedResponse->iterateAllElements() as $element) {
+ * // doSomethingWith($element);
+ * }
+ * } finally {
+ * $analyticsAdminServiceClient->close();
+ * }
+ * ```
+ *
+ * @param string $parent Required. The name of the property to list BigQuery links under.
+ * Format: properties/{property_id}
+ * Example: properties/1234
+ * @param array $optionalArgs {
+ * Optional.
+ *
+ * @type int $pageSize
+ * The maximum number of resources contained in the underlying API
+ * response. The API may return fewer values in a page, even if
+ * there are additional values to be retrieved.
+ * @type string $pageToken
+ * A page token is used to specify a page of values to be returned.
+ * If no page token is specified (the default), the first page
+ * of values will be returned. Any page token used here must have
+ * been generated by a previous call to the API.
+ * @type RetrySettings|array $retrySettings
+ * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+ * associative array of retry settings parameters. See the documentation on
+ * {@see RetrySettings} for example usage.
+ * }
+ *
+ * @return \Google\ApiCore\PagedListResponse
+ *
+ * @throws ApiException if the remote call fails
+ *
+ * @experimental
+ */
+ public function listBigQueryLinks($parent, array $optionalArgs = [])
+ {
+ $request = new ListBigQueryLinksRequest();
+ $requestParamHeaders = [];
+ $request->setParent($parent);
+ $requestParamHeaders['parent'] = $parent;
+ if (isset($optionalArgs['pageSize'])) {
+ $request->setPageSize($optionalArgs['pageSize']);
+ }
+
+ if (isset($optionalArgs['pageToken'])) {
+ $request->setPageToken($optionalArgs['pageToken']);
+ }
+
+ $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
+ $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
+ return $this->getPagedListResponse('ListBigQueryLinks', $optionalArgs, ListBigQueryLinksResponse::class, $request);
+ }
+
/**
* Returns a list of conversion events in the specified parent property.
*
@@ -4113,6 +4477,76 @@ public function listProperties($filter, array $optionalArgs = [])
return $this->getPagedListResponse('ListProperties', $optionalArgs, ListPropertiesResponse::class, $request);
}
+ /**
+ * Lists all SearchAds360Links on a property.
+ *
+ * Sample code:
+ * ```
+ * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient();
+ * try {
+ * $formattedParent = $analyticsAdminServiceClient->propertyName('[PROPERTY]');
+ * // Iterate over pages of elements
+ * $pagedResponse = $analyticsAdminServiceClient->listSearchAds360Links($formattedParent);
+ * foreach ($pagedResponse->iteratePages() as $page) {
+ * foreach ($page as $element) {
+ * // doSomethingWith($element);
+ * }
+ * }
+ * // Alternatively:
+ * // Iterate through all elements
+ * $pagedResponse = $analyticsAdminServiceClient->listSearchAds360Links($formattedParent);
+ * foreach ($pagedResponse->iterateAllElements() as $element) {
+ * // doSomethingWith($element);
+ * }
+ * } finally {
+ * $analyticsAdminServiceClient->close();
+ * }
+ * ```
+ *
+ * @param string $parent Required. Example format: properties/1234
+ * @param array $optionalArgs {
+ * Optional.
+ *
+ * @type int $pageSize
+ * The maximum number of resources contained in the underlying API
+ * response. The API may return fewer values in a page, even if
+ * there are additional values to be retrieved.
+ * @type string $pageToken
+ * A page token is used to specify a page of values to be returned.
+ * If no page token is specified (the default), the first page
+ * of values will be returned. Any page token used here must have
+ * been generated by a previous call to the API.
+ * @type RetrySettings|array $retrySettings
+ * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+ * associative array of retry settings parameters. See the documentation on
+ * {@see RetrySettings} for example usage.
+ * }
+ *
+ * @return \Google\ApiCore\PagedListResponse
+ *
+ * @throws ApiException if the remote call fails
+ *
+ * @experimental
+ */
+ public function listSearchAds360Links($parent, array $optionalArgs = [])
+ {
+ $request = new ListSearchAds360LinksRequest();
+ $requestParamHeaders = [];
+ $request->setParent($parent);
+ $requestParamHeaders['parent'] = $parent;
+ if (isset($optionalArgs['pageSize'])) {
+ $request->setPageSize($optionalArgs['pageSize']);
+ }
+
+ if (isset($optionalArgs['pageToken'])) {
+ $request->setPageToken($optionalArgs['pageToken']);
+ }
+
+ $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
+ $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
+ return $this->getPagedListResponse('ListSearchAds360Links', $optionalArgs, ListSearchAds360LinksResponse::class, $request);
+ }
+
/**
* Lists all user links on an account or property.
*
@@ -4411,7 +4845,8 @@ public function runAccessReport(array $optionalArgs = [])
* }
* ```
*
- * @param string $account Required. The account resource for which to return change history resources.
+ * @param string $account Required. The account resource for which to return change history
+ * resources.
* @param array $optionalArgs {
* Optional.
*
@@ -4419,15 +4854,16 @@ public function runAccessReport(array $optionalArgs = [])
* Optional. Resource name for a child property. If set, only return changes
* made to this property or its child resources.
* @type int[] $resourceType
- * Optional. If set, only return changes if they are for a resource that matches at
- * least one of these types.
+ * Optional. If set, only return changes if they are for a resource that
+ * matches at least one of these types.
* For allowed values, use constants defined on {@see \Google\Analytics\Admin\V1alpha\ChangeHistoryResourceType}
* @type int[] $action
- * Optional. If set, only return changes that match one or more of these types of
- * actions.
+ * Optional. If set, only return changes that match one or more of these types
+ * of actions.
* For allowed values, use constants defined on {@see \Google\Analytics\Admin\V1alpha\ActionType}
* @type string[] $actorEmail
- * Optional. If set, only return changes if they are made by a user in this list.
+ * Optional. If set, only return changes if they are made by a user in this
+ * list.
* @type Timestamp $earliestChangeTime
* Optional. If set, only return changes made after this time (inclusive).
* @type Timestamp $latestChangeTime
@@ -4496,6 +4932,54 @@ public function searchChangeHistoryEvents($account, array $optionalArgs = [])
return $this->getPagedListResponse('SearchChangeHistoryEvents', $optionalArgs, SearchChangeHistoryEventsResponse::class, $request);
}
+ /**
+ * Sets the opt out status for the automated GA4 setup process for a UA
+ * property.
+ * Note: this has no effect on GA4 property.
+ *
+ * Sample code:
+ * ```
+ * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient();
+ * try {
+ * $property = 'property';
+ * $response = $analyticsAdminServiceClient->setAutomatedGa4ConfigurationOptOut($property);
+ * } finally {
+ * $analyticsAdminServiceClient->close();
+ * }
+ * ```
+ *
+ * @param 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
+ * @param array $optionalArgs {
+ * Optional.
+ *
+ * @type bool $optOut
+ * The status to set.
+ * @type RetrySettings|array $retrySettings
+ * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+ * associative array of retry settings parameters. See the documentation on
+ * {@see RetrySettings} for example usage.
+ * }
+ *
+ * @return \Google\Analytics\Admin\V1alpha\SetAutomatedGa4ConfigurationOptOutResponse
+ *
+ * @throws ApiException if the remote call fails
+ *
+ * @experimental
+ */
+ public function setAutomatedGa4ConfigurationOptOut($property, array $optionalArgs = [])
+ {
+ $request = new SetAutomatedGa4ConfigurationOptOutRequest();
+ $request->setProperty($property);
+ if (isset($optionalArgs['optOut'])) {
+ $request->setOptOut($optionalArgs['optOut']);
+ }
+
+ return $this->startCall('SetAutomatedGa4ConfigurationOptOut', SetAutomatedGa4ConfigurationOptOutResponse::class, $optionalArgs, $request)->wait();
+ }
+
/**
* Updates an account.
*
@@ -4513,9 +4997,10 @@ public function searchChangeHistoryEvents($account, array $optionalArgs = [])
*
* @param Account $account Required. The account to update.
* The account's `name` field is used to identify the account.
- * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* @param array $optionalArgs {
* Optional.
*
@@ -4560,9 +5045,10 @@ public function updateAccount($account, $updateMask, array $optionalArgs = [])
*
* @param AttributionSettings $attributionSettings Required. The attribution settings to update.
* The `name` field is used to identify the settings to be updated.
- * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* @param array $optionalArgs {
* Optional.
*
@@ -4607,9 +5093,10 @@ public function updateAttributionSettings($attributionSettings, $updateMask, arr
*
* @param Audience $audience Required. The audience to update.
* The audience's `name` field is used to identify the audience to be updated.
- * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* @param array $optionalArgs {
* Optional.
*
@@ -4651,9 +5138,9 @@ public function updateAudience($audience, $updateMask, array $optionalArgs = [])
* }
* ```
*
- * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
* @param array $optionalArgs {
* Optional.
*
@@ -4699,9 +5186,9 @@ public function updateCustomDimension($updateMask, array $optionalArgs = [])
* }
* ```
*
- * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
* @param array $optionalArgs {
* Optional.
*
@@ -4750,9 +5237,10 @@ public function updateCustomMetric($updateMask, array $optionalArgs = [])
*
* @param DataRetentionSettings $dataRetentionSettings Required. The settings to update.
* The `name` field is used to identify the settings to be updated.
- * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* @param array $optionalArgs {
* Optional.
*
@@ -4794,9 +5282,9 @@ public function updateDataRetentionSettings($dataRetentionSettings, $updateMask,
* }
* ```
*
- * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
* @param array $optionalArgs {
* Optional.
*
@@ -4842,9 +5330,9 @@ public function updateDataStream($updateMask, array $optionalArgs = [])
* }
* ```
*
- * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
* @param array $optionalArgs {
* Optional.
*
@@ -4890,9 +5378,10 @@ public function updateDisplayVideo360AdvertiserLink($updateMask, array $optional
* }
* ```
*
- * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* @param array $optionalArgs {
* Optional.
*
@@ -4941,9 +5430,10 @@ public function updateGoogleAdsLink($updateMask, array $optionalArgs = [])
*
* @param GoogleSignalsSettings $googleSignalsSettings Required. The settings to update.
* The `name` field is used to identify the settings to be updated.
- * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* @param array $optionalArgs {
* Optional.
*
@@ -5036,9 +5526,10 @@ public function updateMeasurementProtocolSecret($measurementProtocolSecret, arra
* @param Property $property Required. The property to update.
* The property's `name` field is used to identify the property to be
* updated.
- * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * @param FieldMask $updateMask Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* @param array $optionalArgs {
* Optional.
*
@@ -5066,6 +5557,54 @@ public function updateProperty($property, $updateMask, array $optionalArgs = [])
return $this->startCall('UpdateProperty', Property::class, $optionalArgs, $request)->wait();
}
+ /**
+ * Updates a SearchAds360Link on a property.
+ *
+ * Sample code:
+ * ```
+ * $analyticsAdminServiceClient = new AnalyticsAdminServiceClient();
+ * try {
+ * $updateMask = new FieldMask();
+ * $response = $analyticsAdminServiceClient->updateSearchAds360Link($updateMask);
+ * } finally {
+ * $analyticsAdminServiceClient->close();
+ * }
+ * ```
+ *
+ * @param FieldMask $updateMask Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
+ * @param array $optionalArgs {
+ * Optional.
+ *
+ * @type SearchAds360Link $searchAds360Link
+ * The SearchAds360Link to update
+ * @type RetrySettings|array $retrySettings
+ * Retry settings to use for this call. Can be a {@see RetrySettings} object, or an
+ * associative array of retry settings parameters. See the documentation on
+ * {@see RetrySettings} for example usage.
+ * }
+ *
+ * @return \Google\Analytics\Admin\V1alpha\SearchAds360Link
+ *
+ * @throws ApiException if the remote call fails
+ *
+ * @experimental
+ */
+ public function updateSearchAds360Link($updateMask, array $optionalArgs = [])
+ {
+ $request = new UpdateSearchAds360LinkRequest();
+ $requestParamHeaders = [];
+ $request->setUpdateMask($updateMask);
+ if (isset($optionalArgs['searchAds360Link'])) {
+ $request->setSearchAds360Link($optionalArgs['searchAds360Link']);
+ }
+
+ $requestParams = new RequestParamsHeaderDescriptor($requestParamHeaders);
+ $optionalArgs['headers'] = isset($optionalArgs['headers']) ? array_merge($requestParams->getHeader(), $optionalArgs['headers']) : $requestParams->getHeader();
+ return $this->startCall('UpdateSearchAds360Link', SearchAds360Link::class, $optionalArgs, $request)->wait();
+ }
+
/**
* Updates a user link on an account or property.
*
diff --git a/AnalyticsAdmin/src/V1alpha/GetBigQueryLinkRequest.php b/AnalyticsAdmin/src/V1alpha/GetBigQueryLinkRequest.php
new file mode 100644
index 00000000000..1edfa69c973
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/GetBigQueryLinkRequest.php
@@ -0,0 +1,75 @@
+google.analytics.admin.v1alpha.GetBigQueryLinkRequest
+ */
+class GetBigQueryLinkRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the BigQuery link to lookup.
+ * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+ * Example: properties/123/bigQueryLinks/456
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ private $name = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The name of the BigQuery link to lookup.
+ * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+ * Example: properties/123/bigQueryLinks/456
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the BigQuery link to lookup.
+ * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+ * Example: properties/123/bigQueryLinks/456
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The name of the BigQuery link to lookup.
+ * Format: properties/{property_id}/bigQueryLinks/{bigquery_link_id}
+ * Example: properties/123/bigQueryLinks/456
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/GetSearchAds360LinkRequest.php b/AnalyticsAdmin/src/V1alpha/GetSearchAds360LinkRequest.php
new file mode 100644
index 00000000000..435994b656e
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/GetSearchAds360LinkRequest.php
@@ -0,0 +1,71 @@
+google.analytics.admin.v1alpha.GetSearchAds360LinkRequest
+ */
+class GetSearchAds360LinkRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the SearchAds360Link to get.
+ * Example format: properties/1234/SearchAds360Link/5678
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ private $name = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The name of the SearchAds360Link to get.
+ * Example format: properties/1234/SearchAds360Link/5678
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the SearchAds360Link to get.
+ * Example format: properties/1234/SearchAds360Link/5678
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The name of the SearchAds360Link to get.
+ * Example format: properties/1234/SearchAds360Link/5678
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/GlobalSiteTag.php b/AnalyticsAdmin/src/V1alpha/GlobalSiteTag.php
index 36b1843d561..8984a9e9449 100644
--- a/AnalyticsAdmin/src/V1alpha/GlobalSiteTag.php
+++ b/AnalyticsAdmin/src/V1alpha/GlobalSiteTag.php
@@ -25,8 +25,8 @@ class GlobalSiteTag extends \Google\Protobuf\Internal\Message
*/
private $name = '';
/**
- * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
- * every webpage to measure.
+ * Immutable. JavaScript code snippet to be pasted as the first item into the
+ * head tag of every webpage to measure.
*
* Generated from protobuf field string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE];
*/
@@ -43,8 +43,8 @@ class GlobalSiteTag extends \Google\Protobuf\Internal\Message
* Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag
* Example: "properties/123/dataStreams/456/globalSiteTag"
* @type string $snippet
- * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
- * every webpage to measure.
+ * Immutable. JavaScript code snippet to be pasted as the first item into the
+ * head tag of every webpage to measure.
* }
*/
public function __construct($data = NULL) {
@@ -83,8 +83,8 @@ public function setName($var)
}
/**
- * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
- * every webpage to measure.
+ * Immutable. JavaScript code snippet to be pasted as the first item into the
+ * head tag of every webpage to measure.
*
* Generated from protobuf field string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE];
* @return string
@@ -95,8 +95,8 @@ public function getSnippet()
}
/**
- * Immutable. JavaScript code snippet to be pasted as the first item into the head tag of
- * every webpage to measure.
+ * Immutable. JavaScript code snippet to be pasted as the first item into the
+ * head tag of every webpage to measure.
*
* Generated from protobuf field string snippet = 2 [(.google.api.field_behavior) = IMMUTABLE];
* @param string $var
diff --git a/AnalyticsAdmin/src/V1alpha/GoogleAdsLink.php b/AnalyticsAdmin/src/V1alpha/GoogleAdsLink.php
index 8bd8a553d04..b78c7ab3ad3 100644
--- a/AnalyticsAdmin/src/V1alpha/GoogleAdsLink.php
+++ b/AnalyticsAdmin/src/V1alpha/GoogleAdsLink.php
@@ -16,7 +16,8 @@
class GoogleAdsLink extends \Google\Protobuf\Internal\Message
{
/**
- * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+ * Output only. Format:
+ * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
* Note: googleAdsLinkId is not the Google Ads customer ID.
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -70,7 +71,8 @@ class GoogleAdsLink extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $name
- * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+ * Output only. Format:
+ * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
* Note: googleAdsLinkId is not the Google Ads customer ID.
* @type string $customer_id
* Immutable. Google Ads customer ID.
@@ -96,7 +98,8 @@ public function __construct($data = NULL) {
}
/**
- * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+ * Output only. Format:
+ * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
* Note: googleAdsLinkId is not the Google Ads customer ID.
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -108,7 +111,8 @@ public function getName()
}
/**
- * Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
+ * Output only. Format:
+ * properties/{propertyId}/googleAdsLinks/{googleAdsLinkId}
* Note: googleAdsLinkId is not the Google Ads customer ID.
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/AnalyticsAdmin/src/V1alpha/ListBigQueryLinksRequest.php b/AnalyticsAdmin/src/V1alpha/ListBigQueryLinksRequest.php
new file mode 100644
index 00000000000..2e38713d8ca
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/ListBigQueryLinksRequest.php
@@ -0,0 +1,167 @@
+google.analytics.admin.v1alpha.ListBigQueryLinksRequest
+ */
+class ListBigQueryLinksRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the property to list BigQuery links under.
+ * Format: properties/{property_id}
+ * Example: properties/1234
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ private $parent = '';
+ /**
+ * The maximum number of resources to return. The service may return
+ * fewer than this value, even if there are additional pages.
+ * If unspecified, at most 50 resources will be returned.
+ * The maximum value is 200; (higher values will be coerced to the maximum)
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ */
+ private $page_size = 0;
+ /**
+ * A page token, received from a previous `ListBigQueryLinks` call.
+ * Provide this to retrieve the subsequent page.
+ * When paginating, all other parameters provided to `ListBigQueryLinks` must
+ * match the call that provided the page token.
+ *
+ * Generated from protobuf field string page_token = 3;
+ */
+ private $page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. The name of the property to list BigQuery links under.
+ * Format: properties/{property_id}
+ * Example: properties/1234
+ * @type int $page_size
+ * The maximum number of resources to return. The service may return
+ * fewer than this value, even if there are additional pages.
+ * If unspecified, at most 50 resources will be returned.
+ * The maximum value is 200; (higher values will be coerced to the maximum)
+ * @type string $page_token
+ * A page token, received from a previous `ListBigQueryLinks` call.
+ * Provide this to retrieve the subsequent page.
+ * When paginating, all other parameters provided to `ListBigQueryLinks` must
+ * match the call that provided the page token.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the property to list BigQuery links under.
+ * Format: properties/{property_id}
+ * Example: properties/1234
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. The name of the property to list BigQuery links under.
+ * Format: properties/{property_id}
+ * Example: properties/1234
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * The maximum number of resources to return. The service may return
+ * fewer than this value, even if there are additional pages.
+ * If unspecified, at most 50 resources will be returned.
+ * The maximum value is 200; (higher values will be coerced to the maximum)
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * The maximum number of resources to return. The service may return
+ * fewer than this value, even if there are additional pages.
+ * If unspecified, at most 50 resources will be returned.
+ * The maximum value is 200; (higher values will be coerced to the maximum)
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * A page token, received from a previous `ListBigQueryLinks` call.
+ * Provide this to retrieve the subsequent page.
+ * When paginating, all other parameters provided to `ListBigQueryLinks` must
+ * match the call that provided the page token.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * A page token, received from a previous `ListBigQueryLinks` call.
+ * Provide this to retrieve the subsequent page.
+ * When paginating, all other parameters provided to `ListBigQueryLinks` must
+ * match the call that provided the page token.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/ListBigQueryLinksResponse.php b/AnalyticsAdmin/src/V1alpha/ListBigQueryLinksResponse.php
new file mode 100644
index 00000000000..9d00f9ad948
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/ListBigQueryLinksResponse.php
@@ -0,0 +1,105 @@
+google.analytics.admin.v1alpha.ListBigQueryLinksResponse
+ */
+class ListBigQueryLinksResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * List of BigQueryLinks.
+ *
+ * Generated from protobuf field repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1;
+ */
+ private $bigquery_links;
+ /**
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ private $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Analytics\Admin\V1alpha\BigQueryLink>|\Google\Protobuf\Internal\RepeatedField $bigquery_links
+ * List of BigQueryLinks.
+ * @type string $next_page_token
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * List of BigQueryLinks.
+ *
+ * Generated from protobuf field repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getBigqueryLinks()
+ {
+ return $this->bigquery_links;
+ }
+
+ /**
+ * List of BigQueryLinks.
+ *
+ * Generated from protobuf field repeated .google.analytics.admin.v1alpha.BigQueryLink bigquery_links = 1;
+ * @param array<\Google\Analytics\Admin\V1alpha\BigQueryLink>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setBigqueryLinks($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\BigQueryLink::class);
+ $this->bigquery_links = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/ListFirebaseLinksRequest.php b/AnalyticsAdmin/src/V1alpha/ListFirebaseLinksRequest.php
index 4dbba698f8a..def930fa670 100644
--- a/AnalyticsAdmin/src/V1alpha/ListFirebaseLinksRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/ListFirebaseLinksRequest.php
@@ -34,7 +34,7 @@ class ListFirebaseLinksRequest extends \Google\Protobuf\Internal\Message
/**
* A page token, received from a previous `ListFirebaseLinks` call.
* Provide this to retrieve the subsequent page.
- * When paginating, all other parameters provided to `ListProperties` must
+ * When paginating, all other parameters provided to `ListFirebaseLinks` must
* match the call that provided the page token.
*
* Generated from protobuf field string page_token = 3;
@@ -58,7 +58,7 @@ class ListFirebaseLinksRequest extends \Google\Protobuf\Internal\Message
* @type string $page_token
* A page token, received from a previous `ListFirebaseLinks` call.
* Provide this to retrieve the subsequent page.
- * When paginating, all other parameters provided to `ListProperties` must
+ * When paginating, all other parameters provided to `ListFirebaseLinks` must
* match the call that provided the page token.
* }
*/
@@ -130,7 +130,7 @@ public function setPageSize($var)
/**
* A page token, received from a previous `ListFirebaseLinks` call.
* Provide this to retrieve the subsequent page.
- * When paginating, all other parameters provided to `ListProperties` must
+ * When paginating, all other parameters provided to `ListFirebaseLinks` must
* match the call that provided the page token.
*
* Generated from protobuf field string page_token = 3;
@@ -144,7 +144,7 @@ public function getPageToken()
/**
* A page token, received from a previous `ListFirebaseLinks` call.
* Provide this to retrieve the subsequent page.
- * When paginating, all other parameters provided to `ListProperties` must
+ * When paginating, all other parameters provided to `ListFirebaseLinks` must
* match the call that provided the page token.
*
* Generated from protobuf field string page_token = 3;
diff --git a/AnalyticsAdmin/src/V1alpha/ListSearchAds360LinksRequest.php b/AnalyticsAdmin/src/V1alpha/ListSearchAds360LinksRequest.php
new file mode 100644
index 00000000000..d92155be56b
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/ListSearchAds360LinksRequest.php
@@ -0,0 +1,159 @@
+google.analytics.admin.v1alpha.ListSearchAds360LinksRequest
+ */
+class ListSearchAds360LinksRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. Example format: properties/1234
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ */
+ private $parent = '';
+ /**
+ * The maximum number of resources to return.
+ * If unspecified, at most 50 resources will be returned.
+ * The maximum value is 200 (higher values will be coerced to the maximum).
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ */
+ private $page_size = 0;
+ /**
+ * A page token, received from a previous `ListSearchAds360Links`
+ * call. Provide this to retrieve the subsequent page.
+ * When paginating, all other parameters provided to
+ * `ListSearchAds360Links` must match the call that provided the
+ * page token.
+ *
+ * Generated from protobuf field string page_token = 3;
+ */
+ private $page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $parent
+ * Required. Example format: properties/1234
+ * @type int $page_size
+ * The maximum number of resources to return.
+ * If unspecified, at most 50 resources will be returned.
+ * The maximum value is 200 (higher values will be coerced to the maximum).
+ * @type string $page_token
+ * A page token, received from a previous `ListSearchAds360Links`
+ * call. Provide this to retrieve the subsequent page.
+ * When paginating, all other parameters provided to
+ * `ListSearchAds360Links` must match the call that provided the
+ * page token.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. Example format: properties/1234
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getParent()
+ {
+ return $this->parent;
+ }
+
+ /**
+ * Required. Example format: properties/1234
+ *
+ * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setParent($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->parent = $var;
+
+ return $this;
+ }
+
+ /**
+ * The maximum number of resources to return.
+ * If unspecified, at most 50 resources will be returned.
+ * The maximum value is 200 (higher values will be coerced to the maximum).
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @return int
+ */
+ public function getPageSize()
+ {
+ return $this->page_size;
+ }
+
+ /**
+ * The maximum number of resources to return.
+ * If unspecified, at most 50 resources will be returned.
+ * The maximum value is 200 (higher values will be coerced to the maximum).
+ *
+ * Generated from protobuf field int32 page_size = 2;
+ * @param int $var
+ * @return $this
+ */
+ public function setPageSize($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->page_size = $var;
+
+ return $this;
+ }
+
+ /**
+ * A page token, received from a previous `ListSearchAds360Links`
+ * call. Provide this to retrieve the subsequent page.
+ * When paginating, all other parameters provided to
+ * `ListSearchAds360Links` must match the call that provided the
+ * page token.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @return string
+ */
+ public function getPageToken()
+ {
+ return $this->page_token;
+ }
+
+ /**
+ * A page token, received from a previous `ListSearchAds360Links`
+ * call. Provide this to retrieve the subsequent page.
+ * When paginating, all other parameters provided to
+ * `ListSearchAds360Links` must match the call that provided the
+ * page token.
+ *
+ * Generated from protobuf field string page_token = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/ListSearchAds360LinksResponse.php b/AnalyticsAdmin/src/V1alpha/ListSearchAds360LinksResponse.php
new file mode 100644
index 00000000000..e6f30690285
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/ListSearchAds360LinksResponse.php
@@ -0,0 +1,105 @@
+google.analytics.admin.v1alpha.ListSearchAds360LinksResponse
+ */
+class ListSearchAds360LinksResponse extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * List of SearchAds360Links.
+ *
+ * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1;
+ */
+ private $search_ads_360_links;
+ /**
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ */
+ private $next_page_token = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type array<\Google\Analytics\Admin\V1alpha\SearchAds360Link>|\Google\Protobuf\Internal\RepeatedField $search_ads_360_links
+ * List of SearchAds360Links.
+ * @type string $next_page_token
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * List of SearchAds360Links.
+ *
+ * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1;
+ * @return \Google\Protobuf\Internal\RepeatedField
+ */
+ public function getSearchAds360Links()
+ {
+ return $this->search_ads_360_links;
+ }
+
+ /**
+ * List of SearchAds360Links.
+ *
+ * Generated from protobuf field repeated .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_links = 1;
+ * @param array<\Google\Analytics\Admin\V1alpha\SearchAds360Link>|\Google\Protobuf\Internal\RepeatedField $var
+ * @return $this
+ */
+ public function setSearchAds360Links($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Analytics\Admin\V1alpha\SearchAds360Link::class);
+ $this->search_ads_360_links = $arr;
+
+ return $this;
+ }
+
+ /**
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @return string
+ */
+ public function getNextPageToken()
+ {
+ return $this->next_page_token;
+ }
+
+ /**
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ * Generated from protobuf field string next_page_token = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setNextPageToken($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->next_page_token = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/MeasurementProtocolSecret.php b/AnalyticsAdmin/src/V1alpha/MeasurementProtocolSecret.php
index f8fca50adb1..53055f1575f 100644
--- a/AnalyticsAdmin/src/V1alpha/MeasurementProtocolSecret.php
+++ b/AnalyticsAdmin/src/V1alpha/MeasurementProtocolSecret.php
@@ -16,9 +16,8 @@
class MeasurementProtocolSecret extends \Google\Protobuf\Internal\Message
{
/**
- * Output only. Resource name of this secret. This secret may be a child of any type of
- * stream.
- * Format:
+ * Output only. Resource name of this secret. This secret may be a child of
+ * any type of stream. Format:
* properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -31,8 +30,8 @@ class MeasurementProtocolSecret extends \Google\Protobuf\Internal\Message
*/
private $display_name = '';
/**
- * Output only. The measurement protocol secret value. Pass this value to the api_secret
- * field of the Measurement Protocol API when sending hits to this
+ * Output only. The measurement protocol secret value. Pass this value to the
+ * api_secret field of the Measurement Protocol API when sending hits to this
* secret's parent property.
*
* Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -46,15 +45,14 @@ class MeasurementProtocolSecret extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $name
- * Output only. Resource name of this secret. This secret may be a child of any type of
- * stream.
- * Format:
+ * Output only. Resource name of this secret. This secret may be a child of
+ * any type of stream. Format:
* properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
* @type string $display_name
* Required. Human-readable display name for this secret.
* @type string $secret_value
- * Output only. The measurement protocol secret value. Pass this value to the api_secret
- * field of the Measurement Protocol API when sending hits to this
+ * Output only. The measurement protocol secret value. Pass this value to the
+ * api_secret field of the Measurement Protocol API when sending hits to this
* secret's parent property.
* }
*/
@@ -64,9 +62,8 @@ public function __construct($data = NULL) {
}
/**
- * Output only. Resource name of this secret. This secret may be a child of any type of
- * stream.
- * Format:
+ * Output only. Resource name of this secret. This secret may be a child of
+ * any type of stream. Format:
* properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -78,9 +75,8 @@ public function getName()
}
/**
- * Output only. Resource name of this secret. This secret may be a child of any type of
- * stream.
- * Format:
+ * Output only. Resource name of this secret. This secret may be a child of
+ * any type of stream. Format:
* properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret}
*
* Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -122,8 +118,8 @@ public function setDisplayName($var)
}
/**
- * Output only. The measurement protocol secret value. Pass this value to the api_secret
- * field of the Measurement Protocol API when sending hits to this
+ * Output only. The measurement protocol secret value. Pass this value to the
+ * api_secret field of the Measurement Protocol API when sending hits to this
* secret's parent property.
*
* Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
@@ -135,8 +131,8 @@ public function getSecretValue()
}
/**
- * Output only. The measurement protocol secret value. Pass this value to the api_secret
- * field of the Measurement Protocol API when sending hits to this
+ * Output only. The measurement protocol secret value. Pass this value to the
+ * api_secret field of the Measurement Protocol API when sending hits to this
* secret's parent property.
*
* Generated from protobuf field string secret_value = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
diff --git a/AnalyticsAdmin/src/V1alpha/Property.php b/AnalyticsAdmin/src/V1alpha/Property.php
index 9d3a05f0040..7242f7ebc57 100644
--- a/AnalyticsAdmin/src/V1alpha/Property.php
+++ b/AnalyticsAdmin/src/V1alpha/Property.php
@@ -24,10 +24,10 @@ class Property extends \Google\Protobuf\Internal\Message
*/
private $name = '';
/**
- * Immutable. The property type for this Property resource. When creating a property, if
- * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
- * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
- * via Google Analytics Admin API.
+ * Immutable. The property type for this Property resource. When creating a
+ * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+ * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+ * types cannot yet be created via Google Analytics Admin API.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE];
*/
@@ -68,9 +68,9 @@ class Property extends \Google\Protobuf\Internal\Message
*/
private $industry_category = 0;
/**
- * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
- * where the data originates. If the time zone honors DST, Analytics will
- * automatically adjust for the changes.
+ * Required. Reporting Time Zone, used as the day boundary for reports,
+ * regardless of where the data originates. If the time zone honors DST,
+ * Analytics will automatically adjust for the changes.
* NOTE: Changing the time zone only affects data going forward, and is not
* applied retroactively.
* Format: https://www.iana.org/time-zones
@@ -88,22 +88,23 @@ class Property extends \Google\Protobuf\Internal\Message
*/
private $currency_code = '';
/**
- * Output only. The Google Analytics service level that applies to this property.
+ * Output only. The Google Analytics service level that applies to this
+ * property.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
private $service_level = 0;
/**
- * Output only. If set, the time at which this property was trashed. If not set, then this
- * property is not currently in the trash can.
+ * Output only. If set, the time at which this property was trashed. If not
+ * set, then this property is not currently in the trash can.
*
* Generated from protobuf field .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
private $delete_time = null;
/**
- * Output only. If set, the time at which this trashed property will be permanently
- * deleted. If not set, then this property is not currently in the trash can
- * and is not slated to be deleted.
+ * Output only. If set, the time at which this trashed property will be
+ * permanently deleted. If not set, then this property is not currently in the
+ * trash can and is not slated to be deleted.
*
* Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@@ -128,10 +129,10 @@ class Property extends \Google\Protobuf\Internal\Message
* Format: properties/{property_id}
* Example: "properties/1000"
* @type int $property_type
- * Immutable. The property type for this Property resource. When creating a property, if
- * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
- * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
- * via Google Analytics Admin API.
+ * Immutable. The property type for this Property resource. When creating a
+ * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+ * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+ * types cannot yet be created via Google Analytics Admin API.
* @type \Google\Protobuf\Timestamp $create_time
* Output only. Time when the entity was originally created.
* @type \Google\Protobuf\Timestamp $update_time
@@ -148,9 +149,9 @@ class Property extends \Google\Protobuf\Internal\Message
* Industry associated with this property
* Example: AUTOMOTIVE, FOOD_AND_DRINK
* @type string $time_zone
- * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
- * where the data originates. If the time zone honors DST, Analytics will
- * automatically adjust for the changes.
+ * Required. Reporting Time Zone, used as the day boundary for reports,
+ * regardless of where the data originates. If the time zone honors DST,
+ * Analytics will automatically adjust for the changes.
* NOTE: Changing the time zone only affects data going forward, and is not
* applied retroactively.
* Format: https://www.iana.org/time-zones
@@ -160,14 +161,15 @@ class Property extends \Google\Protobuf\Internal\Message
* Format: https://en.wikipedia.org/wiki/ISO_4217
* Examples: "USD", "EUR", "JPY"
* @type int $service_level
- * Output only. The Google Analytics service level that applies to this property.
+ * Output only. The Google Analytics service level that applies to this
+ * property.
* @type \Google\Protobuf\Timestamp $delete_time
- * Output only. If set, the time at which this property was trashed. If not set, then this
- * property is not currently in the trash can.
+ * Output only. If set, the time at which this property was trashed. If not
+ * set, then this property is not currently in the trash can.
* @type \Google\Protobuf\Timestamp $expire_time
- * Output only. If set, the time at which this trashed property will be permanently
- * deleted. If not set, then this property is not currently in the trash can
- * and is not slated to be deleted.
+ * Output only. If set, the time at which this trashed property will be
+ * permanently deleted. If not set, then this property is not currently in the
+ * trash can and is not slated to be deleted.
* @type string $account
* Immutable. The resource name of the parent account
* Format: accounts/{account_id}
@@ -210,10 +212,10 @@ public function setName($var)
}
/**
- * Immutable. The property type for this Property resource. When creating a property, if
- * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
- * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
- * via Google Analytics Admin API.
+ * Immutable. The property type for this Property resource. When creating a
+ * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+ * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+ * types cannot yet be created via Google Analytics Admin API.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE];
* @return int
@@ -224,10 +226,10 @@ public function getPropertyType()
}
/**
- * Immutable. The property type for this Property resource. When creating a property, if
- * the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be
- * implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created
- * via Google Analytics Admin API.
+ * Immutable. The property type for this Property resource. When creating a
+ * property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then
+ * "ORDINARY_PROPERTY" will be implied. "SUBPROPERTY" and "ROLLUP_PROPERTY"
+ * types cannot yet be created via Google Analytics Admin API.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.PropertyType property_type = 14 [(.google.api.field_behavior) = IMMUTABLE];
* @param int $var
@@ -402,9 +404,9 @@ public function setIndustryCategory($var)
}
/**
- * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
- * where the data originates. If the time zone honors DST, Analytics will
- * automatically adjust for the changes.
+ * Required. Reporting Time Zone, used as the day boundary for reports,
+ * regardless of where the data originates. If the time zone honors DST,
+ * Analytics will automatically adjust for the changes.
* NOTE: Changing the time zone only affects data going forward, and is not
* applied retroactively.
* Format: https://www.iana.org/time-zones
@@ -419,9 +421,9 @@ public function getTimeZone()
}
/**
- * Required. Reporting Time Zone, used as the day boundary for reports, regardless of
- * where the data originates. If the time zone honors DST, Analytics will
- * automatically adjust for the changes.
+ * Required. Reporting Time Zone, used as the day boundary for reports,
+ * regardless of where the data originates. If the time zone honors DST,
+ * Analytics will automatically adjust for the changes.
* NOTE: Changing the time zone only affects data going forward, and is not
* applied retroactively.
* Format: https://www.iana.org/time-zones
@@ -470,7 +472,8 @@ public function setCurrencyCode($var)
}
/**
- * Output only. The Google Analytics service level that applies to this property.
+ * Output only. The Google Analytics service level that applies to this
+ * property.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return int
@@ -481,7 +484,8 @@ public function getServiceLevel()
}
/**
- * Output only. The Google Analytics service level that applies to this property.
+ * Output only. The Google Analytics service level that applies to this
+ * property.
*
* Generated from protobuf field .google.analytics.admin.v1alpha.ServiceLevel service_level = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param int $var
@@ -496,8 +500,8 @@ public function setServiceLevel($var)
}
/**
- * Output only. If set, the time at which this property was trashed. If not set, then this
- * property is not currently in the trash can.
+ * Output only. If set, the time at which this property was trashed. If not
+ * set, then this property is not currently in the trash can.
*
* Generated from protobuf field .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return \Google\Protobuf\Timestamp|null
@@ -518,8 +522,8 @@ public function clearDeleteTime()
}
/**
- * Output only. If set, the time at which this property was trashed. If not set, then this
- * property is not currently in the trash can.
+ * Output only. If set, the time at which this property was trashed. If not
+ * set, then this property is not currently in the trash can.
*
* Generated from protobuf field .google.protobuf.Timestamp delete_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param \Google\Protobuf\Timestamp $var
@@ -534,9 +538,9 @@ public function setDeleteTime($var)
}
/**
- * Output only. If set, the time at which this trashed property will be permanently
- * deleted. If not set, then this property is not currently in the trash can
- * and is not slated to be deleted.
+ * Output only. If set, the time at which this trashed property will be
+ * permanently deleted. If not set, then this property is not currently in the
+ * trash can and is not slated to be deleted.
*
* Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return \Google\Protobuf\Timestamp|null
@@ -557,9 +561,9 @@ public function clearExpireTime()
}
/**
- * Output only. If set, the time at which this trashed property will be permanently
- * deleted. If not set, then this property is not currently in the trash can
- * and is not slated to be deleted.
+ * Output only. If set, the time at which this trashed property will be
+ * permanently deleted. If not set, then this property is not currently in the
+ * trash can and is not slated to be deleted.
*
* Generated from protobuf field .google.protobuf.Timestamp expire_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param \Google\Protobuf\Timestamp $var
diff --git a/AnalyticsAdmin/src/V1alpha/SearchAds360Link.php b/AnalyticsAdmin/src/V1alpha/SearchAds360Link.php
new file mode 100644
index 00000000000..b09413b63a7
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/SearchAds360Link.php
@@ -0,0 +1,489 @@
+google.analytics.admin.v1alpha.SearchAds360Link
+ */
+class SearchAds360Link extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The resource name for this SearchAds360Link resource.
+ * Format: properties/{propertyId}/searchAds360Links/{linkId}
+ * Note: linkId is not the Search Ads 360 advertiser ID
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $name = '';
+ /**
+ * Immutable. This field represents the Advertiser ID of the Search Ads 360
+ * Advertiser. that has been linked.
+ *
+ * Generated from protobuf field string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
+ */
+ private $advertiser_id = '';
+ /**
+ * Immutable. Enables the import of campaign data from Search Ads 360 into the
+ * GA4 property. After link creation, this can only be updated from the Search
+ * Ads 360 product.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ */
+ private $campaign_data_sharing_enabled = null;
+ /**
+ * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+ * property. This can only be enabled if campaign_data_sharing_enabled is
+ * enabled. After link creation, this can only be updated from
+ * the Search Ads 360 product.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE];
+ */
+ private $cost_data_sharing_enabled = null;
+ /**
+ * Output only. The display name of the Search Ads 360 Advertiser.
+ * Allows users to easily identify the linked resource.
+ *
+ * Generated from protobuf field string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $advertiser_display_name = '';
+ /**
+ * Enables personalized advertising features with this integration.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 6;
+ */
+ private $ads_personalization_enabled = null;
+ /**
+ * Enables export of site stats with this integration.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue site_stats_sharing_enabled = 7;
+ */
+ private $site_stats_sharing_enabled = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Output only. The resource name for this SearchAds360Link resource.
+ * Format: properties/{propertyId}/searchAds360Links/{linkId}
+ * Note: linkId is not the Search Ads 360 advertiser ID
+ * @type string $advertiser_id
+ * Immutable. This field represents the Advertiser ID of the Search Ads 360
+ * Advertiser. that has been linked.
+ * @type \Google\Protobuf\BoolValue $campaign_data_sharing_enabled
+ * Immutable. Enables the import of campaign data from Search Ads 360 into the
+ * GA4 property. After link creation, this can only be updated from the Search
+ * Ads 360 product.
+ * If this field is not set on create, it will be defaulted to true.
+ * @type \Google\Protobuf\BoolValue $cost_data_sharing_enabled
+ * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+ * property. This can only be enabled if campaign_data_sharing_enabled is
+ * enabled. After link creation, this can only be updated from
+ * the Search Ads 360 product.
+ * If this field is not set on create, it will be defaulted to true.
+ * @type string $advertiser_display_name
+ * Output only. The display name of the Search Ads 360 Advertiser.
+ * Allows users to easily identify the linked resource.
+ * @type \Google\Protobuf\BoolValue $ads_personalization_enabled
+ * Enables personalized advertising features with this integration.
+ * If this field is not set on create, it will be defaulted to true.
+ * @type \Google\Protobuf\BoolValue $site_stats_sharing_enabled
+ * Enables export of site stats with this integration.
+ * If this field is not set on create, it will be defaulted to true.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\Resources::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The resource name for this SearchAds360Link resource.
+ * Format: properties/{propertyId}/searchAds360Links/{linkId}
+ * Note: linkId is not the Search Ads 360 advertiser ID
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Output only. The resource name for this SearchAds360Link resource.
+ * Format: properties/{propertyId}/searchAds360Links/{linkId}
+ * Note: linkId is not the Search Ads 360 advertiser ID
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Immutable. This field represents the Advertiser ID of the Search Ads 360
+ * Advertiser. that has been linked.
+ *
+ * Generated from protobuf field string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
+ * @return string
+ */
+ public function getAdvertiserId()
+ {
+ return $this->advertiser_id;
+ }
+
+ /**
+ * Immutable. This field represents the Advertiser ID of the Search Ads 360
+ * Advertiser. that has been linked.
+ *
+ * Generated from protobuf field string advertiser_id = 2 [(.google.api.field_behavior) = IMMUTABLE];
+ * @param string $var
+ * @return $this
+ */
+ public function setAdvertiserId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->advertiser_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Immutable. Enables the import of campaign data from Search Ads 360 into the
+ * GA4 property. After link creation, this can only be updated from the Search
+ * Ads 360 product.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Protobuf\BoolValue|null
+ */
+ public function getCampaignDataSharingEnabled()
+ {
+ return $this->campaign_data_sharing_enabled;
+ }
+
+ public function hasCampaignDataSharingEnabled()
+ {
+ return isset($this->campaign_data_sharing_enabled);
+ }
+
+ public function clearCampaignDataSharingEnabled()
+ {
+ unset($this->campaign_data_sharing_enabled);
+ }
+
+ /**
+ * Returns the unboxed value from getCampaignDataSharingEnabled()
+
+ * Immutable. Enables the import of campaign data from Search Ads 360 into the
+ * GA4 property. After link creation, this can only be updated from the Search
+ * Ads 360 product.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ * @return bool|null
+ */
+ public function getCampaignDataSharingEnabledValue()
+ {
+ return $this->readWrapperValue("campaign_data_sharing_enabled");
+ }
+
+ /**
+ * Immutable. Enables the import of campaign data from Search Ads 360 into the
+ * GA4 property. After link creation, this can only be updated from the Search
+ * Ads 360 product.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Protobuf\BoolValue $var
+ * @return $this
+ */
+ public function setCampaignDataSharingEnabled($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
+ $this->campaign_data_sharing_enabled = $var;
+
+ return $this;
+ }
+
+ /**
+ * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
+
+ * Immutable. Enables the import of campaign data from Search Ads 360 into the
+ * GA4 property. After link creation, this can only be updated from the Search
+ * Ads 360 product.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue campaign_data_sharing_enabled = 3 [(.google.api.field_behavior) = IMMUTABLE];
+ * @param bool|null $var
+ * @return $this
+ */
+ public function setCampaignDataSharingEnabledValue($var)
+ {
+ $this->writeWrapperValue("campaign_data_sharing_enabled", $var);
+ return $this;}
+
+ /**
+ * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+ * property. This can only be enabled if campaign_data_sharing_enabled is
+ * enabled. After link creation, this can only be updated from
+ * the Search Ads 360 product.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE];
+ * @return \Google\Protobuf\BoolValue|null
+ */
+ public function getCostDataSharingEnabled()
+ {
+ return $this->cost_data_sharing_enabled;
+ }
+
+ public function hasCostDataSharingEnabled()
+ {
+ return isset($this->cost_data_sharing_enabled);
+ }
+
+ public function clearCostDataSharingEnabled()
+ {
+ unset($this->cost_data_sharing_enabled);
+ }
+
+ /**
+ * Returns the unboxed value from getCostDataSharingEnabled()
+
+ * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+ * property. This can only be enabled if campaign_data_sharing_enabled is
+ * enabled. After link creation, this can only be updated from
+ * the Search Ads 360 product.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE];
+ * @return bool|null
+ */
+ public function getCostDataSharingEnabledValue()
+ {
+ return $this->readWrapperValue("cost_data_sharing_enabled");
+ }
+
+ /**
+ * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+ * property. This can only be enabled if campaign_data_sharing_enabled is
+ * enabled. After link creation, this can only be updated from
+ * the Search Ads 360 product.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE];
+ * @param \Google\Protobuf\BoolValue $var
+ * @return $this
+ */
+ public function setCostDataSharingEnabled($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
+ $this->cost_data_sharing_enabled = $var;
+
+ return $this;
+ }
+
+ /**
+ * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
+
+ * Immutable. Enables the import of cost data from Search Ads 360 to the GA4
+ * property. This can only be enabled if campaign_data_sharing_enabled is
+ * enabled. After link creation, this can only be updated from
+ * the Search Ads 360 product.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue cost_data_sharing_enabled = 4 [(.google.api.field_behavior) = IMMUTABLE];
+ * @param bool|null $var
+ * @return $this
+ */
+ public function setCostDataSharingEnabledValue($var)
+ {
+ $this->writeWrapperValue("cost_data_sharing_enabled", $var);
+ return $this;}
+
+ /**
+ * Output only. The display name of the Search Ads 360 Advertiser.
+ * Allows users to easily identify the linked resource.
+ *
+ * Generated from protobuf field string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getAdvertiserDisplayName()
+ {
+ return $this->advertiser_display_name;
+ }
+
+ /**
+ * Output only. The display name of the Search Ads 360 Advertiser.
+ * Allows users to easily identify the linked resource.
+ *
+ * Generated from protobuf field string advertiser_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setAdvertiserDisplayName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->advertiser_display_name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Enables personalized advertising features with this integration.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 6;
+ * @return \Google\Protobuf\BoolValue|null
+ */
+ public function getAdsPersonalizationEnabled()
+ {
+ return $this->ads_personalization_enabled;
+ }
+
+ public function hasAdsPersonalizationEnabled()
+ {
+ return isset($this->ads_personalization_enabled);
+ }
+
+ public function clearAdsPersonalizationEnabled()
+ {
+ unset($this->ads_personalization_enabled);
+ }
+
+ /**
+ * Returns the unboxed value from getAdsPersonalizationEnabled()
+
+ * Enables personalized advertising features with this integration.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 6;
+ * @return bool|null
+ */
+ public function getAdsPersonalizationEnabledValue()
+ {
+ return $this->readWrapperValue("ads_personalization_enabled");
+ }
+
+ /**
+ * Enables personalized advertising features with this integration.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 6;
+ * @param \Google\Protobuf\BoolValue $var
+ * @return $this
+ */
+ public function setAdsPersonalizationEnabled($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
+ $this->ads_personalization_enabled = $var;
+
+ return $this;
+ }
+
+ /**
+ * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
+
+ * Enables personalized advertising features with this integration.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue ads_personalization_enabled = 6;
+ * @param bool|null $var
+ * @return $this
+ */
+ public function setAdsPersonalizationEnabledValue($var)
+ {
+ $this->writeWrapperValue("ads_personalization_enabled", $var);
+ return $this;}
+
+ /**
+ * Enables export of site stats with this integration.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue site_stats_sharing_enabled = 7;
+ * @return \Google\Protobuf\BoolValue|null
+ */
+ public function getSiteStatsSharingEnabled()
+ {
+ return $this->site_stats_sharing_enabled;
+ }
+
+ public function hasSiteStatsSharingEnabled()
+ {
+ return isset($this->site_stats_sharing_enabled);
+ }
+
+ public function clearSiteStatsSharingEnabled()
+ {
+ unset($this->site_stats_sharing_enabled);
+ }
+
+ /**
+ * Returns the unboxed value from getSiteStatsSharingEnabled()
+
+ * Enables export of site stats with this integration.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue site_stats_sharing_enabled = 7;
+ * @return bool|null
+ */
+ public function getSiteStatsSharingEnabledValue()
+ {
+ return $this->readWrapperValue("site_stats_sharing_enabled");
+ }
+
+ /**
+ * Enables export of site stats with this integration.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue site_stats_sharing_enabled = 7;
+ * @param \Google\Protobuf\BoolValue $var
+ * @return $this
+ */
+ public function setSiteStatsSharingEnabled($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\BoolValue::class);
+ $this->site_stats_sharing_enabled = $var;
+
+ return $this;
+ }
+
+ /**
+ * Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.
+
+ * Enables export of site stats with this integration.
+ * If this field is not set on create, it will be defaulted to true.
+ *
+ * Generated from protobuf field .google.protobuf.BoolValue site_stats_sharing_enabled = 7;
+ * @param bool|null $var
+ * @return $this
+ */
+ public function setSiteStatsSharingEnabledValue($var)
+ {
+ $this->writeWrapperValue("site_stats_sharing_enabled", $var);
+ return $this;}
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/SearchChangeHistoryEventsRequest.php b/AnalyticsAdmin/src/V1alpha/SearchChangeHistoryEventsRequest.php
index fff30c73be8..386ab18e96b 100644
--- a/AnalyticsAdmin/src/V1alpha/SearchChangeHistoryEventsRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/SearchChangeHistoryEventsRequest.php
@@ -16,7 +16,8 @@
class SearchChangeHistoryEventsRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Required. The account resource for which to return change history resources.
+ * Required. The account resource for which to return change history
+ * resources.
*
* Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
*/
@@ -29,21 +30,22 @@ class SearchChangeHistoryEventsRequest extends \Google\Protobuf\Internal\Message
*/
private $property = '';
/**
- * Optional. If set, only return changes if they are for a resource that matches at
- * least one of these types.
+ * Optional. If set, only return changes if they are for a resource that
+ * matches at least one of these types.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];
*/
private $resource_type;
/**
- * Optional. If set, only return changes that match one or more of these types of
- * actions.
+ * Optional. If set, only return changes that match one or more of these types
+ * of actions.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];
*/
private $action;
/**
- * Optional. If set, only return changes if they are made by a user in this list.
+ * Optional. If set, only return changes if they are made by a user in this
+ * list.
*
* Generated from protobuf field repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -70,10 +72,11 @@ class SearchChangeHistoryEventsRequest extends \Google\Protobuf\Internal\Message
*/
private $page_size = 0;
/**
- * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
- * Provide this to retrieve the subsequent page. When paginating, all other
- * parameters provided to `SearchChangeHistoryEvents` must match the call that
- * provided the page token.
+ * Optional. A page token, received from a previous
+ * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+ * page. When paginating, all other parameters provided to
+ * `SearchChangeHistoryEvents` must match the call that provided the page
+ * token.
*
* Generated from protobuf field string page_token = 9 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -86,18 +89,20 @@ class SearchChangeHistoryEventsRequest extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $account
- * Required. The account resource for which to return change history resources.
+ * Required. The account resource for which to return change history
+ * resources.
* @type string $property
* Optional. Resource name for a child property. If set, only return changes
* made to this property or its child resources.
* @type array|\Google\Protobuf\Internal\RepeatedField $resource_type
- * Optional. If set, only return changes if they are for a resource that matches at
- * least one of these types.
+ * Optional. If set, only return changes if they are for a resource that
+ * matches at least one of these types.
* @type array|\Google\Protobuf\Internal\RepeatedField $action
- * Optional. If set, only return changes that match one or more of these types of
- * actions.
+ * Optional. If set, only return changes that match one or more of these types
+ * of actions.
* @type array|\Google\Protobuf\Internal\RepeatedField $actor_email
- * Optional. If set, only return changes if they are made by a user in this list.
+ * Optional. If set, only return changes if they are made by a user in this
+ * list.
* @type \Google\Protobuf\Timestamp $earliest_change_time
* Optional. If set, only return changes made after this time (inclusive).
* @type \Google\Protobuf\Timestamp $latest_change_time
@@ -108,10 +113,11 @@ class SearchChangeHistoryEventsRequest extends \Google\Protobuf\Internal\Message
* pages. If unspecified, at most 50 items will be returned.
* The maximum value is 200 (higher values will be coerced to the maximum).
* @type string $page_token
- * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
- * Provide this to retrieve the subsequent page. When paginating, all other
- * parameters provided to `SearchChangeHistoryEvents` must match the call that
- * provided the page token.
+ * Optional. A page token, received from a previous
+ * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+ * page. When paginating, all other parameters provided to
+ * `SearchChangeHistoryEvents` must match the call that provided the page
+ * token.
* }
*/
public function __construct($data = NULL) {
@@ -120,7 +126,8 @@ public function __construct($data = NULL) {
}
/**
- * Required. The account resource for which to return change history resources.
+ * Required. The account resource for which to return change history
+ * resources.
*
* Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
* @return string
@@ -131,7 +138,8 @@ public function getAccount()
}
/**
- * Required. The account resource for which to return change history resources.
+ * Required. The account resource for which to return change history
+ * resources.
*
* Generated from protobuf field string account = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
* @param string $var
@@ -174,8 +182,8 @@ public function setProperty($var)
}
/**
- * Optional. If set, only return changes if they are for a resource that matches at
- * least one of these types.
+ * Optional. If set, only return changes if they are for a resource that
+ * matches at least one of these types.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];
* @return \Google\Protobuf\Internal\RepeatedField
@@ -186,8 +194,8 @@ public function getResourceType()
}
/**
- * Optional. If set, only return changes if they are for a resource that matches at
- * least one of these types.
+ * Optional. If set, only return changes if they are for a resource that
+ * matches at least one of these types.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.ChangeHistoryResourceType resource_type = 3 [(.google.api.field_behavior) = OPTIONAL];
* @param array|\Google\Protobuf\Internal\RepeatedField $var
@@ -202,8 +210,8 @@ public function setResourceType($var)
}
/**
- * Optional. If set, only return changes that match one or more of these types of
- * actions.
+ * Optional. If set, only return changes that match one or more of these types
+ * of actions.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];
* @return \Google\Protobuf\Internal\RepeatedField
@@ -214,8 +222,8 @@ public function getAction()
}
/**
- * Optional. If set, only return changes that match one or more of these types of
- * actions.
+ * Optional. If set, only return changes that match one or more of these types
+ * of actions.
*
* Generated from protobuf field repeated .google.analytics.admin.v1alpha.ActionType action = 4 [(.google.api.field_behavior) = OPTIONAL];
* @param array|\Google\Protobuf\Internal\RepeatedField $var
@@ -230,7 +238,8 @@ public function setAction($var)
}
/**
- * Optional. If set, only return changes if they are made by a user in this list.
+ * Optional. If set, only return changes if they are made by a user in this
+ * list.
*
* Generated from protobuf field repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL];
* @return \Google\Protobuf\Internal\RepeatedField
@@ -241,7 +250,8 @@ public function getActorEmail()
}
/**
- * Optional. If set, only return changes if they are made by a user in this list.
+ * Optional. If set, only return changes if they are made by a user in this
+ * list.
*
* Generated from protobuf field repeated string actor_email = 5 [(.google.api.field_behavior) = OPTIONAL];
* @param array|\Google\Protobuf\Internal\RepeatedField $var
@@ -360,10 +370,11 @@ public function setPageSize($var)
}
/**
- * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
- * Provide this to retrieve the subsequent page. When paginating, all other
- * parameters provided to `SearchChangeHistoryEvents` must match the call that
- * provided the page token.
+ * Optional. A page token, received from a previous
+ * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+ * page. When paginating, all other parameters provided to
+ * `SearchChangeHistoryEvents` must match the call that provided the page
+ * token.
*
* Generated from protobuf field string page_token = 9 [(.google.api.field_behavior) = OPTIONAL];
* @return string
@@ -374,10 +385,11 @@ public function getPageToken()
}
/**
- * Optional. A page token, received from a previous `SearchChangeHistoryEvents` call.
- * Provide this to retrieve the subsequent page. When paginating, all other
- * parameters provided to `SearchChangeHistoryEvents` must match the call that
- * provided the page token.
+ * Optional. A page token, received from a previous
+ * `SearchChangeHistoryEvents` call. Provide this to retrieve the subsequent
+ * page. When paginating, all other parameters provided to
+ * `SearchChangeHistoryEvents` must match the call that provided the page
+ * token.
*
* Generated from protobuf field string page_token = 9 [(.google.api.field_behavior) = OPTIONAL];
* @param string $var
diff --git a/AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php b/AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php
new file mode 100644
index 00000000000..64cd7327ad6
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutRequest.php
@@ -0,0 +1,113 @@
+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];
+ */
+ private $property = '';
+ /**
+ * The status to set.
+ *
+ * Generated from protobuf field bool opt_out = 2;
+ */
+ private $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
new file mode 100644
index 00000000000..481c502c84c
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/SetAutomatedGa4ConfigurationOptOutResponse.php
@@ -0,0 +1,34 @@
+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);
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/UpdateAccountRequest.php b/AnalyticsAdmin/src/V1alpha/UpdateAccountRequest.php
index f28a0f03186..8781d8ee383 100644
--- a/AnalyticsAdmin/src/V1alpha/UpdateAccountRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/UpdateAccountRequest.php
@@ -23,9 +23,10 @@ class UpdateAccountRequest extends \Google\Protobuf\Internal\Message
*/
private $account = null;
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -41,9 +42,10 @@ class UpdateAccountRequest extends \Google\Protobuf\Internal\Message
* Required. The account to update.
* The account's `name` field is used to identify the account.
* @type \Google\Protobuf\FieldMask $update_mask
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* }
*/
public function __construct($data = NULL) {
@@ -90,9 +92,10 @@ public function setAccount($var)
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\FieldMask|null
@@ -113,9 +116,10 @@ public function clearUpdateMask()
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Protobuf\FieldMask $var
diff --git a/AnalyticsAdmin/src/V1alpha/UpdateAttributionSettingsRequest.php b/AnalyticsAdmin/src/V1alpha/UpdateAttributionSettingsRequest.php
index b9f5327bda8..cd9cb6d82c8 100644
--- a/AnalyticsAdmin/src/V1alpha/UpdateAttributionSettingsRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/UpdateAttributionSettingsRequest.php
@@ -23,9 +23,10 @@ class UpdateAttributionSettingsRequest extends \Google\Protobuf\Internal\Message
*/
private $attribution_settings = null;
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -41,9 +42,10 @@ class UpdateAttributionSettingsRequest extends \Google\Protobuf\Internal\Message
* Required. The attribution settings to update.
* The `name` field is used to identify the settings to be updated.
* @type \Google\Protobuf\FieldMask $update_mask
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* }
*/
public function __construct($data = NULL) {
@@ -90,9 +92,10 @@ public function setAttributionSettings($var)
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\FieldMask|null
@@ -113,9 +116,10 @@ public function clearUpdateMask()
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Protobuf\FieldMask $var
diff --git a/AnalyticsAdmin/src/V1alpha/UpdateAudienceRequest.php b/AnalyticsAdmin/src/V1alpha/UpdateAudienceRequest.php
index 478a3cfbd9b..da5be3f2244 100644
--- a/AnalyticsAdmin/src/V1alpha/UpdateAudienceRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/UpdateAudienceRequest.php
@@ -23,9 +23,10 @@ class UpdateAudienceRequest extends \Google\Protobuf\Internal\Message
*/
private $audience = null;
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -41,9 +42,10 @@ class UpdateAudienceRequest extends \Google\Protobuf\Internal\Message
* Required. The audience to update.
* The audience's `name` field is used to identify the audience to be updated.
* @type \Google\Protobuf\FieldMask $update_mask
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* }
*/
public function __construct($data = NULL) {
@@ -90,9 +92,10 @@ public function setAudience($var)
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\FieldMask|null
@@ -113,9 +116,10 @@ public function clearUpdateMask()
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Protobuf\FieldMask $var
diff --git a/AnalyticsAdmin/src/V1alpha/UpdateCustomDimensionRequest.php b/AnalyticsAdmin/src/V1alpha/UpdateCustomDimensionRequest.php
index 22e714096b1..7aa7b3584be 100644
--- a/AnalyticsAdmin/src/V1alpha/UpdateCustomDimensionRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/UpdateCustomDimensionRequest.php
@@ -22,9 +22,9 @@ class UpdateCustomDimensionRequest extends \Google\Protobuf\Internal\Message
*/
private $custom_dimension = null;
/**
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -39,9 +39,9 @@ class UpdateCustomDimensionRequest extends \Google\Protobuf\Internal\Message
* @type \Google\Analytics\Admin\V1alpha\CustomDimension $custom_dimension
* The CustomDimension to update
* @type \Google\Protobuf\FieldMask $update_mask
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
* }
*/
public function __construct($data = NULL) {
@@ -86,9 +86,9 @@ public function setCustomDimension($var)
}
/**
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\FieldMask|null
@@ -109,9 +109,9 @@ public function clearUpdateMask()
}
/**
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Protobuf\FieldMask $var
diff --git a/AnalyticsAdmin/src/V1alpha/UpdateCustomMetricRequest.php b/AnalyticsAdmin/src/V1alpha/UpdateCustomMetricRequest.php
index 1cc191a1251..6a20bd97d05 100644
--- a/AnalyticsAdmin/src/V1alpha/UpdateCustomMetricRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/UpdateCustomMetricRequest.php
@@ -22,9 +22,9 @@ class UpdateCustomMetricRequest extends \Google\Protobuf\Internal\Message
*/
private $custom_metric = null;
/**
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -39,9 +39,9 @@ class UpdateCustomMetricRequest extends \Google\Protobuf\Internal\Message
* @type \Google\Analytics\Admin\V1alpha\CustomMetric $custom_metric
* The CustomMetric to update
* @type \Google\Protobuf\FieldMask $update_mask
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
* }
*/
public function __construct($data = NULL) {
@@ -86,9 +86,9 @@ public function setCustomMetric($var)
}
/**
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\FieldMask|null
@@ -109,9 +109,9 @@ public function clearUpdateMask()
}
/**
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Protobuf\FieldMask $var
diff --git a/AnalyticsAdmin/src/V1alpha/UpdateDataRetentionSettingsRequest.php b/AnalyticsAdmin/src/V1alpha/UpdateDataRetentionSettingsRequest.php
index c330a9891d3..f4ac50d7301 100644
--- a/AnalyticsAdmin/src/V1alpha/UpdateDataRetentionSettingsRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/UpdateDataRetentionSettingsRequest.php
@@ -23,9 +23,10 @@ class UpdateDataRetentionSettingsRequest extends \Google\Protobuf\Internal\Messa
*/
private $data_retention_settings = null;
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -41,9 +42,10 @@ class UpdateDataRetentionSettingsRequest extends \Google\Protobuf\Internal\Messa
* Required. The settings to update.
* The `name` field is used to identify the settings to be updated.
* @type \Google\Protobuf\FieldMask $update_mask
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* }
*/
public function __construct($data = NULL) {
@@ -90,9 +92,10 @@ public function setDataRetentionSettings($var)
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\FieldMask|null
@@ -113,9 +116,10 @@ public function clearUpdateMask()
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Protobuf\FieldMask $var
diff --git a/AnalyticsAdmin/src/V1alpha/UpdateDataStreamRequest.php b/AnalyticsAdmin/src/V1alpha/UpdateDataStreamRequest.php
index 41ea4242b60..7262a59f7ef 100644
--- a/AnalyticsAdmin/src/V1alpha/UpdateDataStreamRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/UpdateDataStreamRequest.php
@@ -22,9 +22,9 @@ class UpdateDataStreamRequest extends \Google\Protobuf\Internal\Message
*/
private $data_stream = null;
/**
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -39,9 +39,9 @@ class UpdateDataStreamRequest extends \Google\Protobuf\Internal\Message
* @type \Google\Analytics\Admin\V1alpha\DataStream $data_stream
* The DataStream to update
* @type \Google\Protobuf\FieldMask $update_mask
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
* }
*/
public function __construct($data = NULL) {
@@ -86,9 +86,9 @@ public function setDataStream($var)
}
/**
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\FieldMask|null
@@ -109,9 +109,9 @@ public function clearUpdateMask()
}
/**
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Protobuf\FieldMask $var
diff --git a/AnalyticsAdmin/src/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php b/AnalyticsAdmin/src/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php
index 1e83ea1b37d..a230ab5548f 100644
--- a/AnalyticsAdmin/src/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/UpdateDisplayVideo360AdvertiserLinkRequest.php
@@ -22,9 +22,9 @@ class UpdateDisplayVideo360AdvertiserLinkRequest extends \Google\Protobuf\Intern
*/
private $display_video_360_advertiser_link = null;
/**
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -39,9 +39,9 @@ class UpdateDisplayVideo360AdvertiserLinkRequest extends \Google\Protobuf\Intern
* @type \Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink $display_video_360_advertiser_link
* The DisplayVideo360AdvertiserLink to update
* @type \Google\Protobuf\FieldMask $update_mask
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
* }
*/
public function __construct($data = NULL) {
@@ -86,9 +86,9 @@ public function setDisplayVideo360AdvertiserLink($var)
}
/**
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\FieldMask|null
@@ -109,9 +109,9 @@ public function clearUpdateMask()
}
/**
- * Required. The list of fields to be updated. Omitted fields will not be updated.
- * To replace the entire entity, use one path with the string "*" to match
- * all fields.
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Protobuf\FieldMask $var
diff --git a/AnalyticsAdmin/src/V1alpha/UpdateGoogleAdsLinkRequest.php b/AnalyticsAdmin/src/V1alpha/UpdateGoogleAdsLinkRequest.php
index 5ce358dd120..b5169bbd55e 100644
--- a/AnalyticsAdmin/src/V1alpha/UpdateGoogleAdsLinkRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/UpdateGoogleAdsLinkRequest.php
@@ -22,9 +22,10 @@ class UpdateGoogleAdsLinkRequest extends \Google\Protobuf\Internal\Message
*/
private $google_ads_link = null;
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -39,9 +40,10 @@ class UpdateGoogleAdsLinkRequest extends \Google\Protobuf\Internal\Message
* @type \Google\Analytics\Admin\V1alpha\GoogleAdsLink $google_ads_link
* The GoogleAdsLink to update
* @type \Google\Protobuf\FieldMask $update_mask
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* }
*/
public function __construct($data = NULL) {
@@ -86,9 +88,10 @@ public function setGoogleAdsLink($var)
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\FieldMask|null
@@ -109,9 +112,10 @@ public function clearUpdateMask()
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Protobuf\FieldMask $var
diff --git a/AnalyticsAdmin/src/V1alpha/UpdateGoogleSignalsSettingsRequest.php b/AnalyticsAdmin/src/V1alpha/UpdateGoogleSignalsSettingsRequest.php
index 9ce49d1c30a..7c8d626b16f 100644
--- a/AnalyticsAdmin/src/V1alpha/UpdateGoogleSignalsSettingsRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/UpdateGoogleSignalsSettingsRequest.php
@@ -23,9 +23,10 @@ class UpdateGoogleSignalsSettingsRequest extends \Google\Protobuf\Internal\Messa
*/
private $google_signals_settings = null;
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -41,9 +42,10 @@ class UpdateGoogleSignalsSettingsRequest extends \Google\Protobuf\Internal\Messa
* Required. The settings to update.
* The `name` field is used to identify the settings to be updated.
* @type \Google\Protobuf\FieldMask $update_mask
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* }
*/
public function __construct($data = NULL) {
@@ -90,9 +92,10 @@ public function setGoogleSignalsSettings($var)
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\FieldMask|null
@@ -113,9 +116,10 @@ public function clearUpdateMask()
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Protobuf\FieldMask $var
diff --git a/AnalyticsAdmin/src/V1alpha/UpdatePropertyRequest.php b/AnalyticsAdmin/src/V1alpha/UpdatePropertyRequest.php
index ba0e3c19026..e0a6ccf1a19 100644
--- a/AnalyticsAdmin/src/V1alpha/UpdatePropertyRequest.php
+++ b/AnalyticsAdmin/src/V1alpha/UpdatePropertyRequest.php
@@ -24,9 +24,10 @@ class UpdatePropertyRequest extends \Google\Protobuf\Internal\Message
*/
private $property = null;
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*/
@@ -43,9 +44,10 @@ class UpdatePropertyRequest extends \Google\Protobuf\Internal\Message
* The property's `name` field is used to identify the property to be
* updated.
* @type \Google\Protobuf\FieldMask $update_mask
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
* }
*/
public function __construct($data = NULL) {
@@ -94,9 +96,10 @@ public function setProperty($var)
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @return \Google\Protobuf\FieldMask|null
@@ -117,9 +120,10 @@ public function clearUpdateMask()
}
/**
- * Required. The list of fields to be updated. Field names must be in snake case
- * (e.g., "field_to_update"). Omitted fields will not be updated. To replace
- * the entire entity, use one path with the string "*" to match all fields.
+ * Required. The list of fields to be updated. Field names must be in snake
+ * case (e.g., "field_to_update"). Omitted fields will not be updated. To
+ * replace the entire entity, use one path with the string "*" to match all
+ * fields.
*
* Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
* @param \Google\Protobuf\FieldMask $var
diff --git a/AnalyticsAdmin/src/V1alpha/UpdateSearchAds360LinkRequest.php b/AnalyticsAdmin/src/V1alpha/UpdateSearchAds360LinkRequest.php
new file mode 100644
index 00000000000..3eccadbfb5e
--- /dev/null
+++ b/AnalyticsAdmin/src/V1alpha/UpdateSearchAds360LinkRequest.php
@@ -0,0 +1,129 @@
+google.analytics.admin.v1alpha.UpdateSearchAds360LinkRequest
+ */
+class UpdateSearchAds360LinkRequest extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The SearchAds360Link to update
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1;
+ */
+ private $search_ads_360_link = null;
+ /**
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ private $update_mask = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Analytics\Admin\V1alpha\SearchAds360Link $search_ads_360_link
+ * The SearchAds360Link to update
+ * @type \Google\Protobuf\FieldMask $update_mask
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Analytics\Admin\V1Alpha\AnalyticsAdmin::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The SearchAds360Link to update
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1;
+ * @return \Google\Analytics\Admin\V1alpha\SearchAds360Link|null
+ */
+ public function getSearchAds360Link()
+ {
+ return $this->search_ads_360_link;
+ }
+
+ public function hasSearchAds360Link()
+ {
+ return isset($this->search_ads_360_link);
+ }
+
+ public function clearSearchAds360Link()
+ {
+ unset($this->search_ads_360_link);
+ }
+
+ /**
+ * The SearchAds360Link to update
+ *
+ * Generated from protobuf field .google.analytics.admin.v1alpha.SearchAds360Link search_ads_360_link = 1;
+ * @param \Google\Analytics\Admin\V1alpha\SearchAds360Link $var
+ * @return $this
+ */
+ public function setSearchAds360Link($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\SearchAds360Link::class);
+ $this->search_ads_360_link = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return \Google\Protobuf\FieldMask|null
+ */
+ public function getUpdateMask()
+ {
+ return $this->update_mask;
+ }
+
+ public function hasUpdateMask()
+ {
+ return isset($this->update_mask);
+ }
+
+ public function clearUpdateMask()
+ {
+ unset($this->update_mask);
+ }
+
+ /**
+ * Required. The list of fields to be updated. Omitted fields will not be
+ * updated. To replace the entire entity, use one path with the string "*" to
+ * match all fields.
+ *
+ * Generated from protobuf field .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param \Google\Protobuf\FieldMask $var
+ * @return $this
+ */
+ public function setUpdateMask($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class);
+ $this->update_mask = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/AnalyticsAdmin/src/V1alpha/gapic_metadata.json b/AnalyticsAdmin/src/V1alpha/gapic_metadata.json
index b13f056d503..99b8a9634ad 100644
--- a/AnalyticsAdmin/src/V1alpha/gapic_metadata.json
+++ b/AnalyticsAdmin/src/V1alpha/gapic_metadata.json
@@ -120,6 +120,11 @@
"createProperty"
]
},
+ "CreateSearchAds360Link": {
+ "methods": [
+ "createSearchAds360Link"
+ ]
+ },
"CreateUserLink": {
"methods": [
"createUserLink"
@@ -170,11 +175,21 @@
"deleteProperty"
]
},
+ "DeleteSearchAds360Link": {
+ "methods": [
+ "deleteSearchAds360Link"
+ ]
+ },
"DeleteUserLink": {
"methods": [
"deleteUserLink"
]
},
+ "FetchAutomatedGa4ConfigurationOptOut": {
+ "methods": [
+ "fetchAutomatedGa4ConfigurationOptOut"
+ ]
+ },
"GetAccount": {
"methods": [
"getAccount"
@@ -190,6 +205,11 @@
"getAudience"
]
},
+ "GetBigQueryLink": {
+ "methods": [
+ "getBigQueryLink"
+ ]
+ },
"GetConversionEvent": {
"methods": [
"getConversionEvent"
@@ -250,6 +270,11 @@
"getProperty"
]
},
+ "GetSearchAds360Link": {
+ "methods": [
+ "getSearchAds360Link"
+ ]
+ },
"GetUserLink": {
"methods": [
"getUserLink"
@@ -270,6 +295,11 @@
"listAudiences"
]
},
+ "ListBigQueryLinks": {
+ "methods": [
+ "listBigQueryLinks"
+ ]
+ },
"ListConversionEvents": {
"methods": [
"listConversionEvents"
@@ -320,6 +350,11 @@
"listProperties"
]
},
+ "ListSearchAds360Links": {
+ "methods": [
+ "listSearchAds360Links"
+ ]
+ },
"ListUserLinks": {
"methods": [
"listUserLinks"
@@ -340,6 +375,11 @@
"searchChangeHistoryEvents"
]
},
+ "SetAutomatedGa4ConfigurationOptOut": {
+ "methods": [
+ "setAutomatedGa4ConfigurationOptOut"
+ ]
+ },
"UpdateAccount": {
"methods": [
"updateAccount"
@@ -400,6 +440,11 @@
"updateProperty"
]
},
+ "UpdateSearchAds360Link": {
+ "methods": [
+ "updateSearchAds360Link"
+ ]
+ },
"UpdateUserLink": {
"methods": [
"updateUserLink"
diff --git a/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_client_config.json b/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_client_config.json
index 47b4aad2c1e..43ceb42637e 100644
--- a/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_client_config.json
+++ b/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_client_config.json
@@ -6,7 +6,8 @@
"retry_policy_1_codes": [
"UNAVAILABLE",
"UNKNOWN"
- ]
+ ],
+ "no_retry_1_codes": []
},
"retry_params": {
"no_retry_params": {
@@ -26,6 +27,15 @@
"rpc_timeout_multiplier": 1.0,
"max_rpc_timeout_millis": 60000,
"total_timeout_millis": 60000
+ },
+ "no_retry_1_params": {
+ "initial_retry_delay_millis": 0,
+ "retry_delay_multiplier": 0.0,
+ "max_retry_delay_millis": 0,
+ "initial_rpc_timeout_millis": 60000,
+ "rpc_timeout_multiplier": 1.0,
+ "max_rpc_timeout_millis": 60000,
+ "total_timeout_millis": 60000
}
},
"methods": {
@@ -56,28 +66,28 @@
},
"AuditUserLinks": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"BatchCreateUserLinks": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"BatchDeleteUserLinks": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"BatchGetUserLinks": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"BatchUpdateUserLinks": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"CancelDisplayVideo360AdvertiserLinkProposal": {
"timeout_millis": 60000,
@@ -121,13 +131,13 @@
},
"CreateFirebaseLink": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"CreateGoogleAdsLink": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"CreateMeasurementProtocolSecret": {
"timeout_millis": 60000,
@@ -135,19 +145,24 @@
"retry_params_name": "retry_policy_1_params"
},
"CreateProperty": {
+ "timeout_millis": 60000,
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
+ },
+ "CreateSearchAds360Link": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
"CreateUserLink": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"DeleteAccount": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"DeleteConversionEvent": {
"timeout_millis": 60000,
@@ -171,13 +186,13 @@
},
"DeleteFirebaseLink": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"DeleteGoogleAdsLink": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"DeleteMeasurementProtocolSecret": {
"timeout_millis": 60000,
@@ -185,19 +200,29 @@
"retry_params_name": "retry_policy_1_params"
},
"DeleteProperty": {
+ "timeout_millis": 60000,
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
+ },
+ "DeleteSearchAds360Link": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
"DeleteUserLink": {
+ "timeout_millis": 60000,
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
+ },
+ "FetchAutomatedGa4ConfigurationOptOut": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
"GetAccount": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"GetAttributionSettings": {
"timeout_millis": 60000,
@@ -209,6 +234,11 @@
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
+ "GetBigQueryLink": {
+ "timeout_millis": 60000,
+ "retry_codes_name": "retry_policy_1_codes",
+ "retry_params_name": "retry_policy_1_params"
+ },
"GetConversionEvent": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
@@ -251,8 +281,8 @@
},
"GetGlobalSiteTag": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"GetGoogleSignalsSettings": {
"timeout_millis": 60000,
@@ -265,14 +295,19 @@
"retry_params_name": "retry_policy_1_params"
},
"GetProperty": {
+ "timeout_millis": 60000,
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
+ },
+ "GetSearchAds360Link": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
"GetUserLink": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"ListAccountSummaries": {
"timeout_millis": 60000,
@@ -280,11 +315,16 @@
"retry_params_name": "retry_policy_1_params"
},
"ListAccounts": {
+ "timeout_millis": 60000,
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
+ },
+ "ListAudiences": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
- "ListAudiences": {
+ "ListBigQueryLinks": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
@@ -321,13 +361,13 @@
},
"ListFirebaseLinks": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"ListGoogleAdsLinks": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"ListMeasurementProtocolSecrets": {
"timeout_millis": 60000,
@@ -335,19 +375,24 @@
"retry_params_name": "retry_policy_1_params"
},
"ListProperties": {
+ "timeout_millis": 60000,
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
+ },
+ "ListSearchAds360Links": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
"ListUserLinks": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"ProvisionAccountTicket": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"RunAccessReport": {
"timeout_millis": 60000,
@@ -359,11 +404,16 @@
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
- "UpdateAccount": {
+ "SetAutomatedGa4ConfigurationOptOut": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
+ "UpdateAccount": {
+ "timeout_millis": 60000,
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
+ },
"UpdateAttributionSettings": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
@@ -401,8 +451,8 @@
},
"UpdateGoogleAdsLink": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
},
"UpdateGoogleSignalsSettings": {
"timeout_millis": 60000,
@@ -415,14 +465,19 @@
"retry_params_name": "retry_policy_1_params"
},
"UpdateProperty": {
+ "timeout_millis": 60000,
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
+ },
+ "UpdateSearchAds360Link": {
"timeout_millis": 60000,
"retry_codes_name": "retry_policy_1_codes",
"retry_params_name": "retry_policy_1_params"
},
"UpdateUserLink": {
"timeout_millis": 60000,
- "retry_codes_name": "retry_policy_1_codes",
- "retry_params_name": "retry_policy_1_params"
+ "retry_codes_name": "no_retry_1_codes",
+ "retry_params_name": "no_retry_1_params"
}
}
}
diff --git a/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_descriptor_config.php b/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_descriptor_config.php
index 913bd28c4ba..beb39520c65 100644
--- a/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_descriptor_config.php
+++ b/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_descriptor_config.php
@@ -43,6 +43,16 @@
'resourcesGetMethod' => 'getAudiences',
],
],
+ 'ListBigQueryLinks' => [
+ 'pageStreaming' => [
+ 'requestPageTokenGetMethod' => 'getPageToken',
+ 'requestPageTokenSetMethod' => 'setPageToken',
+ 'requestPageSizeGetMethod' => 'getPageSize',
+ 'requestPageSizeSetMethod' => 'setPageSize',
+ 'responsePageTokenGetMethod' => 'getNextPageToken',
+ 'resourcesGetMethod' => 'getBigqueryLinks',
+ ],
+ ],
'ListConversionEvents' => [
'pageStreaming' => [
'requestPageTokenGetMethod' => 'getPageToken',
@@ -143,6 +153,16 @@
'resourcesGetMethod' => 'getProperties',
],
],
+ 'ListSearchAds360Links' => [
+ 'pageStreaming' => [
+ 'requestPageTokenGetMethod' => 'getPageToken',
+ 'requestPageTokenSetMethod' => 'setPageToken',
+ 'requestPageSizeGetMethod' => 'getPageSize',
+ 'requestPageSizeSetMethod' => 'setPageSize',
+ 'responsePageTokenGetMethod' => 'getNextPageToken',
+ 'resourcesGetMethod' => 'getSearchAds360Links',
+ ],
+ ],
'ListUserLinks' => [
'pageStreaming' => [
'requestPageTokenGetMethod' => 'getPageToken',
diff --git a/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_rest_client_config.php b/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_rest_client_config.php
index 105bdf2a24e..85ebdb3e651 100644
--- a/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_rest_client_config.php
+++ b/AnalyticsAdmin/src/V1alpha/resources/analytics_admin_service_rest_client_config.php
@@ -293,6 +293,18 @@
'uriTemplate' => '/v1alpha/properties',
'body' => 'property',
],
+ 'CreateSearchAds360Link' => [
+ 'method' => 'post',
+ 'uriTemplate' => '/v1alpha/{parent=properties/*}/searchAds360Links',
+ 'body' => 'search_ads_360_link',
+ 'placeholders' => [
+ 'parent' => [
+ 'getters' => [
+ 'getParent',
+ ],
+ ],
+ ],
+ ],
'CreateUserLink' => [
'method' => 'post',
'uriTemplate' => '/v1alpha/{parent=accounts/*}/userLinks',
@@ -411,6 +423,17 @@
],
],
],
+ 'DeleteSearchAds360Link' => [
+ 'method' => 'delete',
+ 'uriTemplate' => '/v1alpha/{name=properties/*/searchAds360Links/*}',
+ 'placeholders' => [
+ 'name' => [
+ 'getters' => [
+ 'getName',
+ ],
+ ],
+ ],
+ ],
'DeleteUserLink' => [
'method' => 'delete',
'uriTemplate' => '/v1alpha/{name=accounts/*/userLinks/*}',
@@ -428,6 +451,11 @@
],
],
],
+ 'FetchAutomatedGa4ConfigurationOptOut' => [
+ 'method' => 'post',
+ 'uriTemplate' => '/v1alpha/properties:fetchAutomatedGa4ConfigurationOptOut',
+ 'body' => '*',
+ ],
'GetAccount' => [
'method' => 'get',
'uriTemplate' => '/v1alpha/{name=accounts/*}',
@@ -461,6 +489,17 @@
],
],
],
+ 'GetBigQueryLink' => [
+ 'method' => 'get',
+ 'uriTemplate' => '/v1alpha/{name=properties/*/bigQueryLinks/*}',
+ 'placeholders' => [
+ 'name' => [
+ 'getters' => [
+ 'getName',
+ ],
+ ],
+ ],
+ ],
'GetConversionEvent' => [
'method' => 'get',
'uriTemplate' => '/v1alpha/{name=properties/*/conversionEvents/*}',
@@ -593,6 +632,17 @@
],
],
],
+ 'GetSearchAds360Link' => [
+ 'method' => 'get',
+ 'uriTemplate' => '/v1alpha/{name=properties/*/searchAds360Links/*}',
+ 'placeholders' => [
+ 'name' => [
+ 'getters' => [
+ 'getName',
+ ],
+ ],
+ ],
+ ],
'GetUserLink' => [
'method' => 'get',
'uriTemplate' => '/v1alpha/{name=accounts/*/userLinks/*}',
@@ -629,6 +679,17 @@
],
],
],
+ 'ListBigQueryLinks' => [
+ 'method' => 'get',
+ 'uriTemplate' => '/v1alpha/{parent=properties/*}/bigQueryLinks',
+ 'placeholders' => [
+ 'parent' => [
+ 'getters' => [
+ 'getParent',
+ ],
+ ],
+ ],
+ ],
'ListConversionEvents' => [
'method' => 'get',
'uriTemplate' => '/v1alpha/{parent=properties/*}/conversionEvents',
@@ -735,6 +796,17 @@
'filter',
],
],
+ 'ListSearchAds360Links' => [
+ 'method' => 'get',
+ 'uriTemplate' => '/v1alpha/{parent=properties/*}/searchAds360Links',
+ 'placeholders' => [
+ 'parent' => [
+ 'getters' => [
+ 'getParent',
+ ],
+ ],
+ ],
+ ],
'ListUserLinks' => [
'method' => 'get',
'uriTemplate' => '/v1alpha/{parent=accounts/*}/userLinks',
@@ -781,6 +853,11 @@
],
],
],
+ 'SetAutomatedGa4ConfigurationOptOut' => [
+ 'method' => 'post',
+ 'uriTemplate' => '/v1alpha/properties:setAutomatedGa4ConfigurationOptOut',
+ 'body' => '*',
+ ],
'UpdateAccount' => [
'method' => 'patch',
'uriTemplate' => '/v1alpha/{account.name=accounts/*}',
@@ -970,6 +1047,22 @@
'update_mask',
],
],
+ 'UpdateSearchAds360Link' => [
+ 'method' => 'patch',
+ 'uriTemplate' => '/v1alpha/{search_ads_360_link.name=properties/*/searchAds360Links/*}',
+ 'body' => 'search_ads_360_link',
+ 'placeholders' => [
+ 'search_ads_360_link.name' => [
+ 'getters' => [
+ 'getSearchAds360Link',
+ 'getName',
+ ],
+ ],
+ ],
+ 'queryParams' => [
+ 'update_mask',
+ ],
+ ],
'UpdateUserLink' => [
'method' => 'patch',
'uriTemplate' => '/v1alpha/{user_link.name=accounts/*/userLinks/*}',
diff --git a/AnalyticsAdmin/tests/Unit/V1alpha/AnalyticsAdminServiceClientTest.php b/AnalyticsAdmin/tests/Unit/V1alpha/AnalyticsAdminServiceClientTest.php
index b05fa2a1a00..aad5622c233 100644
--- a/AnalyticsAdmin/tests/Unit/V1alpha/AnalyticsAdminServiceClientTest.php
+++ b/AnalyticsAdmin/tests/Unit/V1alpha/AnalyticsAdminServiceClientTest.php
@@ -37,6 +37,7 @@
use Google\Analytics\Admin\V1alpha\BatchCreateUserLinksResponse;
use Google\Analytics\Admin\V1alpha\BatchGetUserLinksResponse;
use Google\Analytics\Admin\V1alpha\BatchUpdateUserLinksResponse;
+use Google\Analytics\Admin\V1alpha\BigQueryLink;
use Google\Analytics\Admin\V1alpha\ChangeHistoryEvent;
use Google\Analytics\Admin\V1alpha\ConversionEvent;
use Google\Analytics\Admin\V1alpha\CustomDimension;
@@ -50,6 +51,7 @@
use Google\Analytics\Admin\V1alpha\DataStream\DataStreamType;
use Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLink;
use Google\Analytics\Admin\V1alpha\DisplayVideo360AdvertiserLinkProposal;
+use Google\Analytics\Admin\V1alpha\FetchAutomatedGa4ConfigurationOptOutResponse;
use Google\Analytics\Admin\V1alpha\FirebaseLink;
use Google\Analytics\Admin\V1alpha\GlobalSiteTag;
use Google\Analytics\Admin\V1alpha\GoogleAdsLink;
@@ -57,6 +59,7 @@
use Google\Analytics\Admin\V1alpha\ListAccountSummariesResponse;
use Google\Analytics\Admin\V1alpha\ListAccountsResponse;
use Google\Analytics\Admin\V1alpha\ListAudiencesResponse;
+use Google\Analytics\Admin\V1alpha\ListBigQueryLinksResponse;
use Google\Analytics\Admin\V1alpha\ListConversionEventsResponse;
use Google\Analytics\Admin\V1alpha\ListCustomDimensionsResponse;
use Google\Analytics\Admin\V1alpha\ListCustomMetricsResponse;
@@ -67,12 +70,15 @@
use Google\Analytics\Admin\V1alpha\ListGoogleAdsLinksResponse;
use Google\Analytics\Admin\V1alpha\ListMeasurementProtocolSecretsResponse;
use Google\Analytics\Admin\V1alpha\ListPropertiesResponse;
+use Google\Analytics\Admin\V1alpha\ListSearchAds360LinksResponse;
use Google\Analytics\Admin\V1alpha\ListUserLinksResponse;
use Google\Analytics\Admin\V1alpha\MeasurementProtocolSecret;
use Google\Analytics\Admin\V1alpha\Property;
use Google\Analytics\Admin\V1alpha\ProvisionAccountTicketResponse;
use Google\Analytics\Admin\V1alpha\RunAccessReportResponse;
+use Google\Analytics\Admin\V1alpha\SearchAds360Link;
use Google\Analytics\Admin\V1alpha\SearchChangeHistoryEventsResponse;
+use Google\Analytics\Admin\V1alpha\SetAutomatedGa4ConfigurationOptOutResponse;
use Google\Analytics\Admin\V1alpha\UserLink;
use Google\ApiCore\ApiException;
use Google\ApiCore\CredentialsWrapper;
@@ -1609,6 +1615,74 @@ public function createPropertyExceptionTest()
$this->assertTrue($transport->isExhausted());
}
+ /** @test */
+ public function createSearchAds360LinkTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ // Mock response
+ $name = 'name3373707';
+ $advertiserId = 'advertiserId-127926097';
+ $advertiserDisplayName = 'advertiserDisplayName-674771332';
+ $expectedResponse = new SearchAds360Link();
+ $expectedResponse->setName($name);
+ $expectedResponse->setAdvertiserId($advertiserId);
+ $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName);
+ $transport->addResponse($expectedResponse);
+ // Mock request
+ $formattedParent = $gapicClient->propertyName('[PROPERTY]');
+ $searchAds360Link = new SearchAds360Link();
+ $response = $gapicClient->createSearchAds360Link($formattedParent, $searchAds360Link);
+ $this->assertEquals($expectedResponse, $response);
+ $actualRequests = $transport->popReceivedCalls();
+ $this->assertSame(1, count($actualRequests));
+ $actualFuncCall = $actualRequests[0]->getFuncCall();
+ $actualRequestObject = $actualRequests[0]->getRequestObject();
+ $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/CreateSearchAds360Link', $actualFuncCall);
+ $actualValue = $actualRequestObject->getParent();
+ $this->assertProtobufEquals($formattedParent, $actualValue);
+ $actualValue = $actualRequestObject->getSearchAds360Link();
+ $this->assertProtobufEquals($searchAds360Link, $actualValue);
+ $this->assertTrue($transport->isExhausted());
+ }
+
+ /** @test */
+ public function createSearchAds360LinkExceptionTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ $status = new stdClass();
+ $status->code = Code::DATA_LOSS;
+ $status->details = 'internal error';
+ $expectedExceptionMessage = json_encode([
+ 'message' => 'internal error',
+ 'code' => Code::DATA_LOSS,
+ 'status' => 'DATA_LOSS',
+ 'details' => [],
+ ], JSON_PRETTY_PRINT);
+ $transport->addResponse(null, $status);
+ // Mock request
+ $formattedParent = $gapicClient->propertyName('[PROPERTY]');
+ $searchAds360Link = new SearchAds360Link();
+ try {
+ $gapicClient->createSearchAds360Link($formattedParent, $searchAds360Link);
+ // If the $gapicClient method call did not throw, fail the test
+ $this->fail('Expected an ApiException, but no exception was thrown.');
+ } catch (ApiException $ex) {
+ $this->assertEquals($status->code, $ex->getCode());
+ $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
+ }
+ // Call popReceivedCalls to ensure the stub is exhausted
+ $transport->popReceivedCalls();
+ $this->assertTrue($transport->isExhausted());
+ }
+
/** @test */
public function createUserLinkTest()
{
@@ -2201,6 +2275,63 @@ public function deletePropertyExceptionTest()
$this->assertTrue($transport->isExhausted());
}
+ /** @test */
+ public function deleteSearchAds360LinkTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ // Mock response
+ $expectedResponse = new GPBEmpty();
+ $transport->addResponse($expectedResponse);
+ // Mock request
+ $formattedName = $gapicClient->searchAds360LinkName('[PROPERTY]', '[SEARCH_ADS_360_LINK]');
+ $gapicClient->deleteSearchAds360Link($formattedName);
+ $actualRequests = $transport->popReceivedCalls();
+ $this->assertSame(1, count($actualRequests));
+ $actualFuncCall = $actualRequests[0]->getFuncCall();
+ $actualRequestObject = $actualRequests[0]->getRequestObject();
+ $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/DeleteSearchAds360Link', $actualFuncCall);
+ $actualValue = $actualRequestObject->getName();
+ $this->assertProtobufEquals($formattedName, $actualValue);
+ $this->assertTrue($transport->isExhausted());
+ }
+
+ /** @test */
+ public function deleteSearchAds360LinkExceptionTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ $status = new stdClass();
+ $status->code = Code::DATA_LOSS;
+ $status->details = 'internal error';
+ $expectedExceptionMessage = json_encode([
+ 'message' => 'internal error',
+ 'code' => Code::DATA_LOSS,
+ 'status' => 'DATA_LOSS',
+ 'details' => [],
+ ], JSON_PRETTY_PRINT);
+ $transport->addResponse(null, $status);
+ // Mock request
+ $formattedName = $gapicClient->searchAds360LinkName('[PROPERTY]', '[SEARCH_ADS_360_LINK]');
+ try {
+ $gapicClient->deleteSearchAds360Link($formattedName);
+ // If the $gapicClient method call did not throw, fail the test
+ $this->fail('Expected an ApiException, but no exception was thrown.');
+ } catch (ApiException $ex) {
+ $this->assertEquals($status->code, $ex->getCode());
+ $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
+ }
+ // Call popReceivedCalls to ensure the stub is exhausted
+ $transport->popReceivedCalls();
+ $this->assertTrue($transport->isExhausted());
+ }
+
/** @test */
public function deleteUserLinkTest()
{
@@ -2258,6 +2389,66 @@ public function deleteUserLinkExceptionTest()
$this->assertTrue($transport->isExhausted());
}
+ /** @test */
+ public function fetchAutomatedGa4ConfigurationOptOutTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ // Mock response
+ $optOut = true;
+ $expectedResponse = new FetchAutomatedGa4ConfigurationOptOutResponse();
+ $expectedResponse->setOptOut($optOut);
+ $transport->addResponse($expectedResponse);
+ // Mock request
+ $property = 'property-993141291';
+ $response = $gapicClient->fetchAutomatedGa4ConfigurationOptOut($property);
+ $this->assertEquals($expectedResponse, $response);
+ $actualRequests = $transport->popReceivedCalls();
+ $this->assertSame(1, count($actualRequests));
+ $actualFuncCall = $actualRequests[0]->getFuncCall();
+ $actualRequestObject = $actualRequests[0]->getRequestObject();
+ $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/FetchAutomatedGa4ConfigurationOptOut', $actualFuncCall);
+ $actualValue = $actualRequestObject->getProperty();
+ $this->assertProtobufEquals($property, $actualValue);
+ $this->assertTrue($transport->isExhausted());
+ }
+
+ /** @test */
+ public function fetchAutomatedGa4ConfigurationOptOutExceptionTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ $status = new stdClass();
+ $status->code = Code::DATA_LOSS;
+ $status->details = 'internal error';
+ $expectedExceptionMessage = json_encode([
+ 'message' => 'internal error',
+ 'code' => Code::DATA_LOSS,
+ 'status' => 'DATA_LOSS',
+ 'details' => [],
+ ], JSON_PRETTY_PRINT);
+ $transport->addResponse(null, $status);
+ // Mock request
+ $property = 'property-993141291';
+ try {
+ $gapicClient->fetchAutomatedGa4ConfigurationOptOut($property);
+ // If the $gapicClient method call did not throw, fail the test
+ $this->fail('Expected an ApiException, but no exception was thrown.');
+ } catch (ApiException $ex) {
+ $this->assertEquals($status->code, $ex->getCode());
+ $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
+ }
+ // Call popReceivedCalls to ensure the stub is exhausted
+ $transport->popReceivedCalls();
+ $this->assertTrue($transport->isExhausted());
+ }
+
/** @test */
public function getAccountTest()
{
@@ -2452,6 +2643,74 @@ public function getAudienceExceptionTest()
$this->assertTrue($transport->isExhausted());
}
+ /** @test */
+ public function getBigQueryLinkTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ // Mock response
+ $name2 = 'name2-1052831874';
+ $project = 'project-309310695';
+ $dailyExportEnabled = true;
+ $streamingExportEnabled = false;
+ $includeAdvertisingId = false;
+ $expectedResponse = new BigQueryLink();
+ $expectedResponse->setName($name2);
+ $expectedResponse->setProject($project);
+ $expectedResponse->setDailyExportEnabled($dailyExportEnabled);
+ $expectedResponse->setStreamingExportEnabled($streamingExportEnabled);
+ $expectedResponse->setIncludeAdvertisingId($includeAdvertisingId);
+ $transport->addResponse($expectedResponse);
+ // Mock request
+ $formattedName = $gapicClient->bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]');
+ $response = $gapicClient->getBigQueryLink($formattedName);
+ $this->assertEquals($expectedResponse, $response);
+ $actualRequests = $transport->popReceivedCalls();
+ $this->assertSame(1, count($actualRequests));
+ $actualFuncCall = $actualRequests[0]->getFuncCall();
+ $actualRequestObject = $actualRequests[0]->getRequestObject();
+ $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetBigQueryLink', $actualFuncCall);
+ $actualValue = $actualRequestObject->getName();
+ $this->assertProtobufEquals($formattedName, $actualValue);
+ $this->assertTrue($transport->isExhausted());
+ }
+
+ /** @test */
+ public function getBigQueryLinkExceptionTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ $status = new stdClass();
+ $status->code = Code::DATA_LOSS;
+ $status->details = 'internal error';
+ $expectedExceptionMessage = json_encode([
+ 'message' => 'internal error',
+ 'code' => Code::DATA_LOSS,
+ 'status' => 'DATA_LOSS',
+ 'details' => [],
+ ], JSON_PRETTY_PRINT);
+ $transport->addResponse(null, $status);
+ // Mock request
+ $formattedName = $gapicClient->bigQueryLinkName('[PROPERTY]', '[BIGQUERY_LINK]');
+ try {
+ $gapicClient->getBigQueryLink($formattedName);
+ // If the $gapicClient method call did not throw, fail the test
+ $this->fail('Expected an ApiException, but no exception was thrown.');
+ } catch (ApiException $ex) {
+ $this->assertEquals($status->code, $ex->getCode());
+ $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
+ }
+ // Call popReceivedCalls to ensure the stub is exhausted
+ $transport->popReceivedCalls();
+ $this->assertTrue($transport->isExhausted());
+ }
+
/** @test */
public function getConversionEventTest()
{
@@ -3232,6 +3491,70 @@ public function getPropertyExceptionTest()
$this->assertTrue($transport->isExhausted());
}
+ /** @test */
+ public function getSearchAds360LinkTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ // Mock response
+ $name2 = 'name2-1052831874';
+ $advertiserId = 'advertiserId-127926097';
+ $advertiserDisplayName = 'advertiserDisplayName-674771332';
+ $expectedResponse = new SearchAds360Link();
+ $expectedResponse->setName($name2);
+ $expectedResponse->setAdvertiserId($advertiserId);
+ $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName);
+ $transport->addResponse($expectedResponse);
+ // Mock request
+ $formattedName = $gapicClient->searchAds360LinkName('[PROPERTY]', '[SEARCH_ADS_360_LINK]');
+ $response = $gapicClient->getSearchAds360Link($formattedName);
+ $this->assertEquals($expectedResponse, $response);
+ $actualRequests = $transport->popReceivedCalls();
+ $this->assertSame(1, count($actualRequests));
+ $actualFuncCall = $actualRequests[0]->getFuncCall();
+ $actualRequestObject = $actualRequests[0]->getRequestObject();
+ $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/GetSearchAds360Link', $actualFuncCall);
+ $actualValue = $actualRequestObject->getName();
+ $this->assertProtobufEquals($formattedName, $actualValue);
+ $this->assertTrue($transport->isExhausted());
+ }
+
+ /** @test */
+ public function getSearchAds360LinkExceptionTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ $status = new stdClass();
+ $status->code = Code::DATA_LOSS;
+ $status->details = 'internal error';
+ $expectedExceptionMessage = json_encode([
+ 'message' => 'internal error',
+ 'code' => Code::DATA_LOSS,
+ 'status' => 'DATA_LOSS',
+ 'details' => [],
+ ], JSON_PRETTY_PRINT);
+ $transport->addResponse(null, $status);
+ // Mock request
+ $formattedName = $gapicClient->searchAds360LinkName('[PROPERTY]', '[SEARCH_ADS_360_LINK]');
+ try {
+ $gapicClient->getSearchAds360Link($formattedName);
+ // If the $gapicClient method call did not throw, fail the test
+ $this->fail('Expected an ApiException, but no exception was thrown.');
+ } catch (ApiException $ex) {
+ $this->assertEquals($status->code, $ex->getCode());
+ $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
+ }
+ // Call popReceivedCalls to ensure the stub is exhausted
+ $transport->popReceivedCalls();
+ $this->assertTrue($transport->isExhausted());
+ }
+
/** @test */
public function getUserLinkTest()
{
@@ -3486,6 +3809,74 @@ public function listAudiencesExceptionTest()
$this->assertTrue($transport->isExhausted());
}
+ /** @test */
+ public function listBigQueryLinksTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ // Mock response
+ $nextPageToken = '';
+ $bigqueryLinksElement = new BigQueryLink();
+ $bigqueryLinks = [
+ $bigqueryLinksElement,
+ ];
+ $expectedResponse = new ListBigQueryLinksResponse();
+ $expectedResponse->setNextPageToken($nextPageToken);
+ $expectedResponse->setBigqueryLinks($bigqueryLinks);
+ $transport->addResponse($expectedResponse);
+ // Mock request
+ $formattedParent = $gapicClient->propertyName('[PROPERTY]');
+ $response = $gapicClient->listBigQueryLinks($formattedParent);
+ $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject());
+ $resources = iterator_to_array($response->iterateAllElements());
+ $this->assertSame(1, count($resources));
+ $this->assertEquals($expectedResponse->getBigqueryLinks()[0], $resources[0]);
+ $actualRequests = $transport->popReceivedCalls();
+ $this->assertSame(1, count($actualRequests));
+ $actualFuncCall = $actualRequests[0]->getFuncCall();
+ $actualRequestObject = $actualRequests[0]->getRequestObject();
+ $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListBigQueryLinks', $actualFuncCall);
+ $actualValue = $actualRequestObject->getParent();
+ $this->assertProtobufEquals($formattedParent, $actualValue);
+ $this->assertTrue($transport->isExhausted());
+ }
+
+ /** @test */
+ public function listBigQueryLinksExceptionTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ $status = new stdClass();
+ $status->code = Code::DATA_LOSS;
+ $status->details = 'internal error';
+ $expectedExceptionMessage = json_encode([
+ 'message' => 'internal error',
+ 'code' => Code::DATA_LOSS,
+ 'status' => 'DATA_LOSS',
+ 'details' => [],
+ ], JSON_PRETTY_PRINT);
+ $transport->addResponse(null, $status);
+ // Mock request
+ $formattedParent = $gapicClient->propertyName('[PROPERTY]');
+ try {
+ $gapicClient->listBigQueryLinks($formattedParent);
+ // If the $gapicClient method call did not throw, fail the test
+ $this->fail('Expected an ApiException, but no exception was thrown.');
+ } catch (ApiException $ex) {
+ $this->assertEquals($status->code, $ex->getCode());
+ $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
+ }
+ // Call popReceivedCalls to ensure the stub is exhausted
+ $transport->popReceivedCalls();
+ $this->assertTrue($transport->isExhausted());
+ }
+
/** @test */
public function listConversionEventsTest()
{
@@ -4166,6 +4557,74 @@ public function listPropertiesExceptionTest()
$this->assertTrue($transport->isExhausted());
}
+ /** @test */
+ public function listSearchAds360LinksTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ // Mock response
+ $nextPageToken = '';
+ $searchAds360LinksElement = new SearchAds360Link();
+ $searchAds360Links = [
+ $searchAds360LinksElement,
+ ];
+ $expectedResponse = new ListSearchAds360LinksResponse();
+ $expectedResponse->setNextPageToken($nextPageToken);
+ $expectedResponse->setSearchAds360Links($searchAds360Links);
+ $transport->addResponse($expectedResponse);
+ // Mock request
+ $formattedParent = $gapicClient->propertyName('[PROPERTY]');
+ $response = $gapicClient->listSearchAds360Links($formattedParent);
+ $this->assertEquals($expectedResponse, $response->getPage()->getResponseObject());
+ $resources = iterator_to_array($response->iterateAllElements());
+ $this->assertSame(1, count($resources));
+ $this->assertEquals($expectedResponse->getSearchAds360Links()[0], $resources[0]);
+ $actualRequests = $transport->popReceivedCalls();
+ $this->assertSame(1, count($actualRequests));
+ $actualFuncCall = $actualRequests[0]->getFuncCall();
+ $actualRequestObject = $actualRequests[0]->getRequestObject();
+ $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/ListSearchAds360Links', $actualFuncCall);
+ $actualValue = $actualRequestObject->getParent();
+ $this->assertProtobufEquals($formattedParent, $actualValue);
+ $this->assertTrue($transport->isExhausted());
+ }
+
+ /** @test */
+ public function listSearchAds360LinksExceptionTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ $status = new stdClass();
+ $status->code = Code::DATA_LOSS;
+ $status->details = 'internal error';
+ $expectedExceptionMessage = json_encode([
+ 'message' => 'internal error',
+ 'code' => Code::DATA_LOSS,
+ 'status' => 'DATA_LOSS',
+ 'details' => [],
+ ], JSON_PRETTY_PRINT);
+ $transport->addResponse(null, $status);
+ // Mock request
+ $formattedParent = $gapicClient->propertyName('[PROPERTY]');
+ try {
+ $gapicClient->listSearchAds360Links($formattedParent);
+ // If the $gapicClient method call did not throw, fail the test
+ $this->fail('Expected an ApiException, but no exception was thrown.');
+ } catch (ApiException $ex) {
+ $this->assertEquals($status->code, $ex->getCode());
+ $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
+ }
+ // Call popReceivedCalls to ensure the stub is exhausted
+ $transport->popReceivedCalls();
+ $this->assertTrue($transport->isExhausted());
+ }
+
/** @test */
public function listUserLinksTest()
{
@@ -4410,6 +4869,64 @@ public function searchChangeHistoryEventsExceptionTest()
$this->assertTrue($transport->isExhausted());
}
+ /** @test */
+ public function setAutomatedGa4ConfigurationOptOutTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ // Mock response
+ $expectedResponse = new SetAutomatedGa4ConfigurationOptOutResponse();
+ $transport->addResponse($expectedResponse);
+ // Mock request
+ $property = 'property-993141291';
+ $response = $gapicClient->setAutomatedGa4ConfigurationOptOut($property);
+ $this->assertEquals($expectedResponse, $response);
+ $actualRequests = $transport->popReceivedCalls();
+ $this->assertSame(1, count($actualRequests));
+ $actualFuncCall = $actualRequests[0]->getFuncCall();
+ $actualRequestObject = $actualRequests[0]->getRequestObject();
+ $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/SetAutomatedGa4ConfigurationOptOut', $actualFuncCall);
+ $actualValue = $actualRequestObject->getProperty();
+ $this->assertProtobufEquals($property, $actualValue);
+ $this->assertTrue($transport->isExhausted());
+ }
+
+ /** @test */
+ public function setAutomatedGa4ConfigurationOptOutExceptionTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ $status = new stdClass();
+ $status->code = Code::DATA_LOSS;
+ $status->details = 'internal error';
+ $expectedExceptionMessage = json_encode([
+ 'message' => 'internal error',
+ 'code' => Code::DATA_LOSS,
+ 'status' => 'DATA_LOSS',
+ 'details' => [],
+ ], JSON_PRETTY_PRINT);
+ $transport->addResponse(null, $status);
+ // Mock request
+ $property = 'property-993141291';
+ try {
+ $gapicClient->setAutomatedGa4ConfigurationOptOut($property);
+ // If the $gapicClient method call did not throw, fail the test
+ $this->fail('Expected an ApiException, but no exception was thrown.');
+ } catch (ApiException $ex) {
+ $this->assertEquals($status->code, $ex->getCode());
+ $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
+ }
+ // Call popReceivedCalls to ensure the stub is exhausted
+ $transport->popReceivedCalls();
+ $this->assertTrue($transport->isExhausted());
+ }
+
/** @test */
public function updateAccountTest()
{
@@ -5254,6 +5771,70 @@ public function updatePropertyExceptionTest()
$this->assertTrue($transport->isExhausted());
}
+ /** @test */
+ public function updateSearchAds360LinkTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ // Mock response
+ $name = 'name3373707';
+ $advertiserId = 'advertiserId-127926097';
+ $advertiserDisplayName = 'advertiserDisplayName-674771332';
+ $expectedResponse = new SearchAds360Link();
+ $expectedResponse->setName($name);
+ $expectedResponse->setAdvertiserId($advertiserId);
+ $expectedResponse->setAdvertiserDisplayName($advertiserDisplayName);
+ $transport->addResponse($expectedResponse);
+ // Mock request
+ $updateMask = new FieldMask();
+ $response = $gapicClient->updateSearchAds360Link($updateMask);
+ $this->assertEquals($expectedResponse, $response);
+ $actualRequests = $transport->popReceivedCalls();
+ $this->assertSame(1, count($actualRequests));
+ $actualFuncCall = $actualRequests[0]->getFuncCall();
+ $actualRequestObject = $actualRequests[0]->getRequestObject();
+ $this->assertSame('/google.analytics.admin.v1alpha.AnalyticsAdminService/UpdateSearchAds360Link', $actualFuncCall);
+ $actualValue = $actualRequestObject->getUpdateMask();
+ $this->assertProtobufEquals($updateMask, $actualValue);
+ $this->assertTrue($transport->isExhausted());
+ }
+
+ /** @test */
+ public function updateSearchAds360LinkExceptionTest()
+ {
+ $transport = $this->createTransport();
+ $gapicClient = $this->createClient([
+ 'transport' => $transport,
+ ]);
+ $this->assertTrue($transport->isExhausted());
+ $status = new stdClass();
+ $status->code = Code::DATA_LOSS;
+ $status->details = 'internal error';
+ $expectedExceptionMessage = json_encode([
+ 'message' => 'internal error',
+ 'code' => Code::DATA_LOSS,
+ 'status' => 'DATA_LOSS',
+ 'details' => [],
+ ], JSON_PRETTY_PRINT);
+ $transport->addResponse(null, $status);
+ // Mock request
+ $updateMask = new FieldMask();
+ try {
+ $gapicClient->updateSearchAds360Link($updateMask);
+ // If the $gapicClient method call did not throw, fail the test
+ $this->fail('Expected an ApiException, but no exception was thrown.');
+ } catch (ApiException $ex) {
+ $this->assertEquals($status->code, $ex->getCode());
+ $this->assertEquals($expectedExceptionMessage, $ex->getMessage());
+ }
+ // Call popReceivedCalls to ensure the stub is exhausted
+ $transport->popReceivedCalls();
+ $this->assertTrue($transport->isExhausted());
+ }
+
/** @test */
public function updateUserLinkTest()
{